[statusbar] fix: music icon in sb-music

This commit is contained in:
David JULIEN 2022-03-07 11:30:19 +01:00
parent 8a245444c0
commit a3b75c39a6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
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%")"
title="$(echo "$mpc" | head -n1 | cut -d'~' -f3 | unicode)"