diff options
author | Soispha <soispha@vhack.eu> | 2023-09-05 16:03:20 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-09-05 16:03:20 +0200 |
commit | c60fbe6cfc713a0a89993f81b9269560628c87eb (patch) | |
tree | 24810da3e65b3010d3e92d87420db41b01d0dddf /hm/soispha | |
parent | Fix(hm/conf/nvim/plgs/luasnip/todo_snippets): Decapitalize my name (diff) | |
download | nixos-config-c60fbe6cfc713a0a89993f81b9269560628c87eb.zip |
Feat(hm/pkgs/scripts/neorg): Init
Diffstat (limited to '')
-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 |