dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 3100eb3551908383221db3f08dd89b813b07aece
parent e8eb539d40c7653f5d31e861f0dd263f7207078d
Author: Ashymad <czilukim@o2.pl>
Date:   Fri,  2 Mar 2018 18:24:52 +0100

Add symbols instead of escapes

Diffstat:
M.config/polybar/cmus.sh | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.config/polybar/cmus.sh b/.config/polybar/cmus.sh @@ -5,10 +5,10 @@ if cmus-remote -C status > /tmp/cmus.status; then ARTIST=$(grep 'tag artist ' /tmp/cmus.status | tail -c +12) STATE=$(grep 'status ' /tmp/cmus.status | tail -c +8) if [ $STATE = 'playing' ]; then - printf "\ue058 $ARTIST - $TITLE" + echo "▶ $ARTIST - $TITLE" elif [ $STATE = 'paused' ]; then - printf "\ue059 $ARTIST - $TITLE" + echo "⏸ $ARTIST - $TITLE" else - printf "\ue057" + echo "■" fi -fi -\ No newline at end of file +fi