diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-12-14 22:26:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-14 22:26:58 +0900 |
| commit | 54e7541f7c8d16602be6aa7c2c687796e9330941 (patch) | |
| tree | 7f3b0adb935e8b43bd876dd7431707861ad00785 /config | |
| parent | 02d1d993b0d47254037b14e92337d208d0012f8f (diff) | |
| parent | 980956c16962a1ba478e958c706aec6186c3af47 (diff) | |
Merge pull request #72 from JaKooLit/main
merging from Main to Development
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/RofiBeats.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/hypr/scripts/RofiBeats.sh b/config/hypr/scripts/RofiBeats.sh index 27fbf08a..f7d7074a 100755 --- a/config/hypr/scripts/RofiBeats.sh +++ b/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" |
