transparent cava
parent
550f0c633b
commit
a4c1235b0f
|
@ -12,6 +12,8 @@ case $LANG in
|
||||||
RADIOBROWSER="Szukaj stacji online"
|
RADIOBROWSER="Szukaj stacji online"
|
||||||
MPV="Odtwarzaj za pomocą mpv (bez gui)"
|
MPV="Odtwarzaj za pomocą mpv (bez gui)"
|
||||||
MPVPLAY="Słuchaj stacji..."
|
MPVPLAY="Słuchaj stacji..."
|
||||||
|
CAVA="Wizualizacja (cava)"
|
||||||
|
STOP="Wyłącz"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
VOL="Volume Control"
|
VOL="Volume Control"
|
||||||
|
@ -20,13 +22,15 @@ case $LANG in
|
||||||
RADIOBROWSER="Search Radio Stations online"
|
RADIOBROWSER="Search Radio Stations online"
|
||||||
MPV="Play with mpv (no gui)"
|
MPV="Play with mpv (no gui)"
|
||||||
MPVPLAY="Listen to radio..."
|
MPVPLAY="Listen to radio..."
|
||||||
|
CAVA="Visualiser (cava)"
|
||||||
|
STOP="Stop"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
out+=("^sep($VOL)")
|
out+=("^sep($VOL)")
|
||||||
out+=("Pavucontrol (super+v),pavucontrol")
|
out+=("Pavucontrol (super+v),pavucontrol")
|
||||||
out+=("^sep($RADIO)")
|
out+=("^sep($RADIO)")
|
||||||
pgrep -f radio-mpv > /dev/null && NOW="$(<"$NOWPLAY")" out+=("Stop <i>$NOW</i>,pkill -f radio-mpv") out+=("^sep()")
|
pgrep -f radio-mpv > /dev/null && NOW="$(<"$NOWPLAY")" out+=("$STOP <i>$NOW</i>,pkill -f radio-mpv") out+=("^sep()")
|
||||||
|
|
||||||
out+=("$MPV,^checkout(mpvradio)")
|
out+=("$MPV,^checkout(mpvradio)")
|
||||||
out2+=("^tag(mpvradio)")
|
out2+=("^tag(mpvradio)")
|
||||||
|
@ -40,7 +44,8 @@ out2+=("${name},mb-music play "\""${url}"\"" "\""${name}"\""")
|
||||||
done <"$PLAYLIST"
|
done <"$PLAYLIST"
|
||||||
out+=("^sep(PyRadio (super+r))")
|
out+=("^sep(PyRadio (super+r))")
|
||||||
out+=("PyRadio,terminator --geometry=420x440-20-20 -e pyradio")
|
out+=("PyRadio,terminator --geometry=420x440-20-20 -e pyradio")
|
||||||
out+=("Cava,terminator --geometry=420x200-460-20 -e cava")
|
pgrep -f cavatransparent > /dev/null && out+=("$STOP $CAVA,pkill -f cavatransparent") || out+=("$CAVA,transparent-cava")
|
||||||
|
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$EDITSTATIONS,xdg-open $PLAYLIST")
|
out+=("$EDITSTATIONS,xdg-open $PLAYLIST")
|
||||||
out+=("$RADIOBROWSER,xdg-open https://www.radio-browser.info")
|
out+=("$RADIOBROWSER,xdg-open https://www.radio-browser.info")
|
||||||
|
|
Loading…
Reference in New Issue