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"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user