aboutsummaryrefslogtreecommitdiffstats
path: root/rofi-notes.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:44:59 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:44:59 +0200
commit9c910ee903280722f9c8324c3fb0a4b581557dbc (patch)
tree1860458d819f34f0b69475c76df18df2ecf65ddd /rofi-notes.sh
parentfb0ce82b670d211278f428b935a376c9bc5e57da (diff)
downloadbash-notes-9c910ee903280722f9c8324c3fb0a4b581557dbc.tar.gz
bash-notes-9c910ee903280722f9c8324c3fb0a4b581557dbc.zip
rofi-notes: list layout and icon titlesHEADmaster
menu.rasi has no search bar, so the notes menus move to list.rasi, which shows -p as a title over a wallpaper banner; the prompts get a glyph and a colon like the other menus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'rofi-notes.sh')
-rwxr-xr-xrofi-notes.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/rofi-notes.sh b/rofi-notes.sh
index 82f2e91..c43d0dc 100755
--- a/rofi-notes.sh
+++ b/rofi-notes.sh
@@ -9,7 +9,7 @@
# rofi-notes.sh -e edit note
# rofi-notes.sh -d delete note
-rofi_command="rofi -theme ~/.config/rofi/udt/menu.rasi"
+rofi_command="rofi -theme ~/.config/rofi/udt/list.rasi"
notes_command=notes
# list of existing notes passed to rofi
@@ -24,19 +24,19 @@ case $PARAM in
;;
-e )
# edit note_ID
- selected=$(echo -e "$options" | $rofi_command -p "edit note" -dmenu -selected-row 0 | cut -d " " -f1)
+ selected=$(echo -e "$options" | $rofi_command -p '󰏫 Edit note:' -dmenu -selected-row 0 | cut -d " " -f1)
[ -n "$selected" ] || exit 0
kitty --session=none --class notes -T notes $notes_command -e ${selected}
;;
-d )
# delete note_ID
- selected=$(echo -e "$options" | $rofi_command -p "delete note" -dmenu -selected-row 0 | cut -d " " -f1)
+ selected=$(echo -e "$options" | $rofi_command -p '󰆴 Delete note:' -dmenu -selected-row 0 | cut -d " " -f1)
[ -n "$selected" ] || exit 0
kitty --session=none --class notes -T notes $notes_command -d ${selected}
;;
* )
# list notes
- selected=$(echo -e "$options" | $rofi_command -p "notes" -dmenu -selected-row 0 | cut -d " " -f1)
+ selected=$(echo -e "$options" | $rofi_command -p '󰎞 Notes:' -dmenu -selected-row 0 | cut -d " " -f1)
[ -n "$selected" ] || exit 0
kitty --session=none --class notes -T notes $notes_command -s $selected
;;