aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hm/soispha/pkgs/scripts.nix2
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/neorg2
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