Add play, pause and stop buttons

This commit is contained in:
RealStickman 2020-11-24 12:48:21 +01:00
parent f50da4ab64
commit f8fc8e2b28

View File

@ -25,11 +25,11 @@ if info=$(cmus-remote -Q 2> /dev/null); then
info_string="$artist - $title $info_string"
if [ "$status" = "playing" ]; then
echo "#1 $info_string"
echo " $info_string"
elif [ "$status" = "paused" ]; then
echo "#2 $info_string"
echo " $info_string"
elif [ "$status" = "stopped" ]; then
echo "#3 $info_string"
echo " $info_string"
else
echo ""
fi