diff --git a/.config/conky/cmus-conky-timebar.sh b/.config/conky/cmus-conky-timebar.sh index b1b4292..bd71ad5 100755 --- a/.config/conky/cmus-conky-timebar.sh +++ b/.config/conky/cmus-conky-timebar.sh @@ -6,8 +6,8 @@ ## Requires 'bc' for calculating percentage. if cmus-remote -Q &>/dev/null ; then - DUR=$( cmus-remote -Q | grep "duration" | cut -c10- ) - POS=$( cmus-remote -Q | grep "position" | cut -c10- ) + DUR=$( cmus-remote -Q | grep "duration " | cut -c10- ) + POS=$( cmus-remote -Q | grep "position " | cut -c10- ) echo "($POS/$DUR)*100" | bc -l fi