diff options
| author | JaKooLit <jimmilovejay@gmail.com> | 2023-11-04 00:31:03 +0900 |
|---|---|---|
| committer | JaKooLit <jimmilovejay@gmail.com> | 2023-11-04 00:31:24 +0900 |
| commit | 5c92d83f04f25f2d1c4ddc253861c1db47aa577f (patch) | |
| tree | 4e48a9119701d6856e8ff777ebf0814e6c42a345 /config/hypr/scripts/WofiBeats.sh | |
| parent | 1d04a76bd093c1a6c504b65861828ff3453093aa (diff) | |
See changelog
Diffstat (limited to 'config/hypr/scripts/WofiBeats.sh')
| -rwxr-xr-x | config/hypr/scripts/WofiBeats.sh | 75 |
1 files changed, 36 insertions, 39 deletions
diff --git a/config/hypr/scripts/WofiBeats.sh b/config/hypr/scripts/WofiBeats.sh index 65328547..0a3b5739 100755 --- a/config/hypr/scripts/WofiBeats.sh +++ b/config/hypr/scripts/WofiBeats.sh @@ -1,12 +1,10 @@ #!/bin/bash - ## Files CONFIG="$HOME/.config/wofi/WofiBig/config" STYLE="$HOME/.config/wofi/style.css" COLORS="$HOME/.config/wofi/colors" iDIR="$HOME/.config/dunst/icons" - # wofi window config (in %) WIDTH=12 HEIGHT=30 @@ -20,9 +18,8 @@ wofi_command="wofi --show dmenu \ --hide-scroll --no-actions \ --matching=fuzzy" - notification(){ - notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/music.png" "Now Playing: Online Music" + notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal -i "$iDIR/music.png" "Playing now: " "$@" } menu(){ @@ -30,60 +27,60 @@ printf "1. Lofi Girl\n" printf "2. 96.3 Easy Rock - FM Radio\n" printf "3. Ghibli Music (Instrumental)\n" printf "4. Top Music 2023\n" -printf "5. Youtube Global Top 100\n" +printf "5. Chillhop\n" printf "6. SmoothChill\n" printf "7. Relaxing Music\n" printf "8. Youtube Remix\n" -printf "9. K-Drama-OST2" +printf "9. Korean Drama OST" } main() { choice=$(menu | ${wofi_command} | cut -d. -f1) case $choice in 1) - notification + notification "Lofi Girl ☕️🎶"; mpv "https://play.streamafrica.net/lofiradio" return ;; 2) - notification - mpv "https://radio-stations-philippines.com/easy-rock" - return -;; + notification "96.3 Easy Rock 📻🎶"; + mpv "https://radio-stations-philippines.com/easy-rock" + return + ;; 3) - notification - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" - return - ;; + notification "Ghibli Music 🎻🎶"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLNi74S754EXbrzw-IzVhpeAaMISNrzfUy&si=rqnXCZU5xoFhxfOl" + return + ;; 4) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ" - return - ;; + notification "Top Music 2023 ☕️🎶"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL6k9a6aYB2zk0qSbXR-ZEiwqgdHymsRtQ" + return + ;; 5) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PL4fGSI1pDJn5kI81J1fYWK5eZRl1zJ5kM" - return - ;; + notification "Chillhop ☕️🎶"; + mpv "http://stream.zeno.fm/fyn8eh3h5f8uv" + return + ;; 6) - notification ; - mpv "https://media-ssl.musicradio.com/SmoothChill" - return - ;; + notification "SmoothChill ☕️🎶"; + mpv "https://media-ssl.musicradio.com/SmoothChill" + return + ;; 7) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" - return -;; + notification "Relaxing Music ☕️🎶"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" + return + ;; 8) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" - return - ;; + notification "Youtube Remix 📻🎶"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" + return + ;; 9) - notification ; - mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" - return -;; + notification "Korean Drama OST 📻🎶"; + mpv --shuffle --vid=no "https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" + return + ;; esac } |
