i3mpd fix

This commit is contained in:
Luke Smith 2018-09-04 16:11:33 -04:00
parent 39a2b97142
commit 5be1f8beca

View file

@ -1,7 +1,7 @@
#!/bin/sh
filter() {
sed 2q | 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>/g"
}
case $BLOCK_BUTTON in