Add play, pause and stop buttons
This commit is contained in:
parent
f50da4ab64
commit
f8fc8e2b28
@ -25,11 +25,11 @@ if info=$(cmus-remote -Q 2> /dev/null); then
|
|||||||
info_string="$artist - $title $info_string"
|
info_string="$artist - $title $info_string"
|
||||||
|
|
||||||
if [ "$status" = "playing" ]; then
|
if [ "$status" = "playing" ]; then
|
||||||
echo "#1 $info_string"
|
echo " $info_string"
|
||||||
elif [ "$status" = "paused" ]; then
|
elif [ "$status" = "paused" ]; then
|
||||||
echo "#2 $info_string"
|
echo " $info_string"
|
||||||
elif [ "$status" = "stopped" ]; then
|
elif [ "$status" = "stopped" ]; then
|
||||||
echo "#3 $info_string"
|
echo " $info_string"
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user