diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-07 21:19:28 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-08 16:09:23 +0200 |
| commit | d8d52f90ffce5db92675c624f32d497d2e15fceb (patch) | |
| tree | 8c3c6e86e797445501d8324553f2eab196ee4859 /.local | |
| parent | b3bf3fb2ee8605344a4e4d68807d0dfa22f48561 (diff) | |
| download | dotfiles-d8d52f90ffce5db92675c624f32d497d2e15fceb.tar.gz dotfiles-d8d52f90ffce5db92675c624f32d497d2e15fceb.zip | |
misc: add notes launcher
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 |
