diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-05-18 20:07:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-18 20:07:03 +0900 |
| commit | 931e1ba1be1879d29705f9431f57d2d3519454cf (patch) | |
| tree | 3bff65b2f9f830b072d7df0401206f7b70a4f4a2 /config/hypr/UserScripts | |
| parent | 364491709366b195d9fb2ce0ca3bae6e182dbabf (diff) | |
| parent | 3ebc5d5a4cdeaf45364d085f0a000ef97f7a4f21 (diff) | |
Merge pull request #282 from JaKooLit/main
Main to development
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/RofiBeats.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 76634a1a..1cf2a445 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -63,7 +63,6 @@ play_local_music() { mpv --shuffle --vid=no "$file" } - # Main function for playing online music play_online_music() { choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -p "Online Music") @@ -84,7 +83,7 @@ play_online_music() { pkill mpv && notify-send -u low -i "$iDIR/music.png" "Online Music stopped" || { # Prompt the user to choose between local and online music -user_choice=$(printf "Play from Music Folder\nPlay from Online Stations" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") +user_choice=$(printf "Play from Online Stations\nPlay from Music Folder" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats-menu.rasi -p "Select music source") case "$user_choice" in "Play from Music Folder") |
