mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Music block fix for i3blocks
Add the \n character after the </span> so the music block appears again.
This commit is contained in:
parent
0db25db4d1
commit
a75997ccf6
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
filter() {
|
||||
sed "/^volume:/d" | tac | sed -e "s/\\&/&/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/\\&/&/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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user