aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
;;