aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-27 19:01:48 +0200
committerDanilo M. <danix@danix.xyz>2026-09-27 19:01:48 +0200
commitfb0ce82b670d211278f428b935a376c9bc5e57da (patch)
tree8bfd09c9e3c842af6e83c98b42e3fdbd904f1e42 /AGENTS.md
parentfb79a12769d26c7608393f4a3beb5e39de3cc704 (diff)
downloadbash-notes-fb0ce82b670d211278f428b935a376c9bc5e57da.tar.gz
bash-notes-fb0ce82b670d211278f428b935a376c9bc5e57da.zip
Add rofi-notes.sh, the rofi front end for notesHEADmaster
Moved into the repo from a standalone script in ~/bin. It now exits quietly when the rofi menu is dismissed instead of launching a terminal with no note ID (which flashed a window open and shut), calls notes from PATH, and fixes the swapped kitty arguments on the add-note path. Document the symlink install in AGENTS.md and README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index cdd99cf..6a3caa7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -27,6 +27,15 @@ run `make`, and commit both the sources and the rebuilt `notes.sh` together.
edit, list, remove, show)
5. `SOURCE/main.sh`: `getopt` parsing and dispatch
+`rofi-notes.sh` is a hand-written rofi + kitty front end (show/add/edit/delete
+menus), not part of the build. It calls `notes` from `PATH`.
+
+On the maintainer's machine both scripts are installed as symlinks into the
+repo, so a `make` (or an edit to `rofi-notes.sh`) is live immediately:
+
+ ~/bin/notes -> notes.sh
+ ~/bin/rofi-notes.sh -> rofi-notes.sh (bound to Super+F5..F8 in Hyprland)
+
Since it is plain concatenation, top-level code runs in that order. A function
is callable from `main.sh` no matter which file defines it.