From 9c910ee903280722f9c8324c3fb0a4b581557dbc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 11:44:59 +0200 Subject: rofi-notes: list layout and icon titles 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 --- rofi-notes.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rofi-notes.sh') 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 ;; -- cgit v1.2.3