diff options
-rw-r--r-- | hm/soispha/pkgs/scripts.nix | 14 | ||||
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg | 14 |
2 files changed, 24 insertions, 4 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index 544975c5..d06fc67f 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -80,18 +80,24 @@ path = "wrappers"; dependencies = builtins.attrValues {inherit (pkgs) gawk expect yt-dlp;}; }; + neorg-scr = sysLib.writeShellScriptWithLibraryAndKeepPath { + name = "neorg"; + src = ./scripts/wrappers/neorg; + dependencies = []; + }; in [ aumo-scr + backsnap-scr con2pdf-scr dldragon-scr gtk-themes-scr - screen_shot-scr - mocs-scr - update-sys-scr - backsnap-scr ll-scr # llp-scr # TODO: see above + mocs-scr + neorg-scr + screen_shot-scr spodi-scr + update-sys-scr virsh-del-scr yti-scr ] diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg new file mode 100755 index 00000000..78c453cf --- /dev/null +++ b/hm/soispha/pkgs/scripts/wrappers/neorg @@ -0,0 +1,14 @@ +#!/usr/bin/env dash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH + +AUTHORS="Soispha" +YEARS="2023" + +# Start neovim and automatically enable neorg. + +nvim -c "NeorgStart" -s "$(tmp "printf ':Neorg workspace '")" + + +# vim: ft=sh |