diff --git a/.config/radio/wow-radio.png b/.config/radio/wow-radio.png new file mode 100644 index 0000000..b5567b4 Binary files /dev/null and b/.config/radio/wow-radio.png differ diff --git a/.local/bin/scripts/play-radio b/.local/bin/scripts/play-radio index 2574efb..cd6cedf 100755 --- a/.local/bin/scripts/play-radio +++ b/.local/bin/scripts/play-radio @@ -8,7 +8,8 @@ STATIONS="$(sed 's/: .*//g; s/ /Open FM: /; s/"//g; s/}//g; s/{//g; /^$/d' "$OP newonce.radio RMF FM RMF Maxxx -Radio ZET" +Radio ZET +WOW!Radio" station=$(echo "$STATIONS" | rofi -dmenu -i -l 20 -p ' Radio Station') [ ! "$station" ] && exit @@ -32,6 +33,10 @@ case "$station" in radio="https://zt02.cdn.eurozet.pl/zet-old.mp3" icon="radio-zet-logo.png" ;; + "WOW!Radio") + radio="https://radio.wownero.com/wow.ogg" + icon="wow-radio.png" + ;; *) id="$(grep "\"$(echo "$station" | sed 's/Open FM: //g')\"" "$OPEN_FM_CHANNELS_LIST" | sed 's/.*: //g; s/"//g; s/,//g')" radio="http://stream.open.fm/$id" diff --git a/.local/bin/scripts/statusbar/sb-music b/.local/bin/scripts/statusbar/sb-music index 14018e7..b9ce835 100755 --- a/.local/bin/scripts/statusbar/sb-music +++ b/.local/bin/scripts/statusbar/sb-music @@ -16,6 +16,9 @@ elif [ "$(mpc status | awk 'NR==2 {print $1}')" = "[playing]" ]; then mpc status -f "%name%: %title%" | awk 'NR==1' | sed 's/ w .*//g; s/& .* -/-/g; s/feat. .* -/-/g; s/ft .* -/-/g; s/; .* -/ -/g; s/ (feat. .*//g; s/feat. .*//g; s/STOP_AD_BREAK//g' elif mpc status -f "%file%" | grep -q "zet-old.mp3"; then mpc status -f "%name%" | awk 'NR==1' + elif mpc status -f "%file%" | grep -q "wow.ogg"; then + title="$(mpc status -f "%title%" | awk 'NR==1')" + printf "%s" "WOW!Radio: $title" fi elif playerctl --player=spotify status | grep -q "Paused"; then echo ""