summaryrefslogtreecommitdiffstats
path: root/.local/bin/notes
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-07 21:19:28 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-08 16:09:23 +0200
commitd8d52f90ffce5db92675c624f32d497d2e15fceb (patch)
tree8c3c6e86e797445501d8324553f2eab196ee4859 /.local/bin/notes
parentb3bf3fb2ee8605344a4e4d68807d0dfa22f48561 (diff)
downloaddotfiles-d8d52f90ffce5db92675c624f32d497d2e15fceb.tar.gz
dotfiles-d8d52f90ffce5db92675c624f32d497d2e15fceb.zip
misc: add notes launcher
Diffstat (limited to '.local/bin/notes')
-rwxr-xr-x.local/bin/notes9
1 files changed, 9 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"