Browse Source

Merge pull request #71 from momcilovicluka/main

fix(RofiBeats): Remove notification when canceled
pull/72/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
980956c169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/hypr/scripts/RofiBeats.sh

4
config/hypr/scripts/RofiBeats.sh

@ -28,6 +28,10 @@ notification() {
main() {
choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -i -p "")
if [ -z "$choice" ]; then
exit 1
fi
link="${menu_options[$choice]}"
notification "$choice"

Loading…
Cancel
Save