diff options
| author | JaKooLit <jimmielovejay.com> | 2024-05-18 20:02:40 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2024-05-18 20:02:40 +0900 |
| commit | 741f5a3e638add7642a6a452c2793b63c728abbb (patch) | |
| tree | c0535c0857b95031ef55db0d2f43f7e9daac6adc | |
| parent | d3f8613e974bdc6e5138319eaa679b8ff3c752dc (diff) | |
Made Online stations as first choice for Rofi Beats
| -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") |
