summaryrefslogtreecommitdiffstats
path: root/.local/bin/notes
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-09 21:10:40 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-09 21:10:40 +0200
commitd58694b966d06e08c364ca6e0f578bcb1ef82bf2 (patch)
tree189af2df05bb066623afc6ab5b99083398f29459 /.local/bin/notes
parent666ca8a5a6f5746f461144990632efe43ba76270 (diff)
downloaddotfiles-d58694b966d06e08c364ca6e0f578bcb1ef82bf2.tar.gz
dotfiles-d58694b966d06e08c364ca6e0f578bcb1ef82bf2.zip
misc: edit notes launcher comment and notification message
Diffstat (limited to '.local/bin/notes')
-rwxr-xr-x.local/bin/notes4
1 files changed, 1 insertions, 3 deletions
diff --git a/.local/bin/notes b/.local/bin/notes
index cdafd6b..778138d 100755
--- a/.local/bin/notes
+++ b/.local/bin/notes
@@ -4,12 +4,10 @@ set -euo pipefail
app_name=notes
if ! [[ -d $NOTES_DIR ]]; then
notify-send --app-name="$app_name" --icon="accessories-text-editor" \
- "Notes" "Could not open NOTES_DIR ($NOTES_DIR)"
+ "Neovim notes plugin" "$NOTES_DIR does not exist or is not a directory"
exit 1
fi
cd "$NOTES_DIR"
-# Open the notes directory in foot, inside a persistent tmux session named
-# "notes" (stolen if it already exists), landing straight into an fzf picker
exec foot --app-id="$app_name" -- \
tmux new-session -A -D -s "$app_name" -- \
nvim -c "NotesFindTags"