dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 5760896e7d367cf0585490e711b8b3020945b6cd
parent 3b272bad965f701659b98bef7163082234f96d64
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  3 Jul 2018 15:30:45 -0400

i3mpd how handles ampersands

Diffstat:
M.scripts/i3mpd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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