diff options
author | Soispha <soispha@vhack.eu> | 2023-10-25 15:31:16 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-25 15:31:16 +0200 |
commit | 7e643ae15651eeb9fc6aa531d798a40a692c3f1d (patch) | |
tree | e0a91aeecc4a3b9b2d528de684cd1cdf5a71fe30 /hm | |
parent | build(treewide): Update (+ shell_library) (diff) | |
download | nixos-config-7e643ae15651eeb9fc6aa531d798a40a692c3f1d.tar.gz nixos-config-7e643ae15651eeb9fc6aa531d798a40a692c3f1d.zip |
fix(hm/pkgs/scr/neorg): Use path to file, to circumvent escaping
Diffstat (limited to 'hm')
-rw-r--r-- | hm/soispha/pkgs/scripts.nix | 2 | ||||
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index d8f8052f..5fa88b91 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -65,7 +65,7 @@ ID_GENERATION_FUNCTION = # This is here, because escaping the whole function, to use it in the shell script # directly just isn't possible - lib.strings.escapeShellArg + pkgs.writeText "ID_GENERATION_FUNCTION" /* bash */ diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg index f4e46e4f..f60fea95 100755 --- a/hm/soispha/pkgs/scripts/wrappers/neorg +++ b/hm/soispha/pkgs/scripts/wrappers/neorg @@ -42,7 +42,7 @@ COMMANDS: add Allows you to quickly add projects ARGUMENTS: - ID | *([0-9]) := %ID_GENERATION_FUNCTION + ID | *([0-9]) := $(cat %ID_GENERATION_FUNCTION) The function displays all possible IDs of the eligable tasks. WS := %ALL_WORKSPACES |