summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/i3mpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3mpd b/.scripts/i3mpd
index 7cf473d..8c8564e 100755
--- a/.scripts/i3mpd
+++ b/.scripts/i3mpd
@@ -6,7 +6,7 @@ if [[ -n $BLOCK_INSTANCE ]]; then
fi
filter() {
- sed 2q | tac | sed -e "/volume:/d;s/\[paused\].*/<span color=\"gray\">/g;s/\[playing\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\/span>/g"
+ sed 2q | tac | sed -e "s/\&/&amp;/g;/volume:/d;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