diff options
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/notes | 9 | ||||
| -rw-r--r-- | .local/share/applications/net.local.notes.desktop | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.local/bin/notes b/.local/bin/notes new file mode 100755 index 0000000..05ca7c2 --- /dev/null +++ b/.local/bin/notes @@ -0,0 +1,9 @@ +#!/usr/bin/bash +set -euo pipefail + +# Open the notes directory in foot, inside a persistent tmux session named +# "notes" (stolen if it already exists), landing straight into an fzf picker +cd "$NOTES_DIR" +exec foot --app-id=notes -- \ + tmux new-session -A -D -s notes -- \ + nvim -c "NotesFindTags" diff --git a/.local/share/applications/net.local.notes.desktop b/.local/share/applications/net.local.notes.desktop new file mode 100644 index 0000000..b6f4200 --- /dev/null +++ b/.local/share/applications/net.local.notes.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Exec=/home/tvanbesi/.local/bin/notes +Name=notes +NoDisplay=true +StartupNotify=false +Type=Application +X-KDE-GlobalAccel-CommandShortcut=true |
