Update modules/home/wayland/apps/eww/bar/scripts/radio
This commit is contained in:
parent
7a3a2a9f69
commit
09e3a2af95
@ -15,7 +15,7 @@ PID=$( [ -e "$MPV_PID_FILE" ] && cat "$MPV_PID_FILE" || echo 0 )
|
||||
RADIO_ID=$( [ -e "$RADIO_ID_FILE" ] && cat "$RADIO_ID_FILE" || echo 0 )
|
||||
RADIO_URL=""
|
||||
INFO='{"id":null,"artist":null,"song":null,"image600":null}'
|
||||
PAUSED=$(( $PID == 0 && $RADIO_ID > 0 ? 1 : 0 ))
|
||||
PAUSED=$(( $PID == 0 || $RADIO_ID == 0 ? 1 : 0 ))
|
||||
STATUS="{}"
|
||||
|
||||
get_radio() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user