From f8fc8e2b2873dce898fbaface333a6218df38b9a Mon Sep 17 00:00:00 2001 From: RealStickman Date: Tue, 24 Nov 2020 12:48:21 +0100 Subject: [PATCH] Add play, pause and stop buttons --- arch-config/.config/polybar/scripts/player-cmus.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch-config/.config/polybar/scripts/player-cmus.sh b/arch-config/.config/polybar/scripts/player-cmus.sh index 108cc75d..343c9b0f 100755 --- a/arch-config/.config/polybar/scripts/player-cmus.sh +++ b/arch-config/.config/polybar/scripts/player-cmus.sh @@ -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