Music block fix for i3blocks (#372)

Add the \n character after the </span> so the music block appears again.
This commit is contained in:
jcenters 2019-09-11 20:08:20 -05:00 committed by Luke Smith
parent 0db25db4d1
commit ac4b78b169

View File

@ -1,7 +1,7 @@
#!/usr/bin/env sh
filter() {
sed "/^volume:/d" | tac | sed -e "s/\\&/&amp;/g;s/\\[paused\\].*/<span color=\"gray\" font_style=\"italic\">/g;s/\\[playing\\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\\/span>/g"
sed "/^volume:/d" | tac | sed -e "s/\\&/&amp;/g;s/\\[paused\\].*/<span color=\"gray\" font_style=\"italic\">/g;s/\\[playing\\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\\/span>\n/g"
}
case $BLOCK_BUTTON in