From 1ccbf13a313cd171ff2c0c0776a53c5f743d411e Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Wed, 2 Apr 2025 21:28:41 +0200 Subject: [PATCH] move script descriptions to readme --- README.md | 19 ++++++++++++++++++- scripts/niss-misc.nix | 18 +----------------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 8040883..f53e8fa 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,26 @@ some stuff that you might like. probably not. but i made this for myself so that wrapper around the existing `firefox-esr` package that allows you to have it and firefox normal style both installed without collisions - **inkscape-xwayland**: - wrapper around `inkscape` to use xwayland, since it doesn't work for me otherwise + wrapper around `inkscape` to use xwayland, since it doesn't work for me + otherwise - [**isabelle**](https://isabelle.in.tum.de): the existing package doesn't work for me. life's too short, just wrap the upstream distribution - **multi-ghc**: install all available versions of ghc at once + +## other + +- **niss-misc**: some small scripts i wrote for myself that aren't likely to be + useful for anyone else. + - `galleryHelpers`: helper scripts for putting together the input for + `gallery.niss.website`. exceedingly unlikely to be useful to anyone else. + - `charFilters`: `little` for making text ˡⁱᵏᵉ ᵗʰⁱˢ and `wide` for text + like this. + - `find-parent`: + `find-parent ‹file›` looks for `‹file›` in the current directory or any of + its ancestors, and prints the path of the file found, if any. + `find-parent -d ‹file›` prints the path of only the directory containing the + file, rather than the file itself. + - `nd`: looks for a `flake.nix` and runs `nix develop` if so. uses + `find-parent`. diff --git a/scripts/niss-misc.nix b/scripts/niss-misc.nix index bde91cc..9129a2e 100644 --- a/scripts/niss-misc.nix +++ b/scripts/niss-misc.nix @@ -34,21 +34,5 @@ in map (d: "cp ${dir d}/* $out/bin") (lib.attrNames deps) ++ [ "chmod a+x $out/bin/*" ]); - meta = { - description = "niss's funny little scripts"; - longDescription = '' - - `galleryHelpers`: helper scripts for putting together the input for - `gallery.niss.website`. exceedingly unlikely to be useful to anyone - else. - - `charFilters`: `little` for making text ˡⁱᵏᵉ ᵗʰⁱˢ and `wide` for - text like this. - - find-parent: - `find-parent ‹file›` looks for `‹file›` in the current directory or - any of its ancestors, and prints the path of the file found, if any. - `find-parent -d ‹file›` prints the path of only the directory - containing the file, rather than the file itself. - - nd: looks for a `flake.nix` and runs `nix develop` if so. - uses `find-parent`. - ''; - }; + meta.description = "niss's funny little scripts"; }