[statusbar] fix: music icon in sb-music
This commit is contained in:
parent
8a245444c0
commit
a3b75c39a6
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
unicode() { sed "s/[‘’]/'/g;s/[“”]/\"/g"; }
|
unicode() { sed "s/[‘’]/'/g;s/[“”]/\"/g"; }
|
||||||
format() { sed "s/^volume:n\/a.*//g;/^volume:/d;s/\\&/&/g;s/\\[paused\\].*//g;s/\\[playing\\].*//g"; }
|
format() { sed "s/^volume:n\/a.*//g;/^volume:/d;s/\\&/&/g;s/\\[paused\\].*//g;s/\\[playing\\].*//g"; }
|
||||||
|
|
||||||
mpc="$(mpc --format "%albumartist% ~ %artist% ~ %title%")"
|
mpc="$(mpc --format "%albumartist% ~ %artist% ~ %title%")"
|
||||||
title="$(echo "$mpc" | head -n1 | cut -d'~' -f3 | unicode)"
|
title="$(echo "$mpc" | head -n1 | cut -d'~' -f3 | unicode)"
|
||||||
|
Reference in New Issue
Block a user