From a75997ccf6e2c16085027090b73ad18b0091cf7d Mon Sep 17 00:00:00 2001 From: jcenters Date: Wed, 11 Sep 2019 17:48:22 -0500 Subject: [PATCH] Music block fix for i3blocks Add the \n character after the so the music block appears again. --- .local/bin/statusbar/music | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/music b/.local/bin/statusbar/music index 7324f8b1..663fe0f7 100755 --- a/.local/bin/statusbar/music +++ b/.local/bin/statusbar/music @@ -1,7 +1,7 @@ #!/usr/bin/env sh filter() { - sed "/^volume:/d" | tac | sed -e "s/\\&/&/g;s/\\[paused\\].*//g;s/\\[playing\\].*//g" | tr -d '\n' | sed -e "s/$/<\\/span>/g" + sed "/^volume:/d" | tac | sed -e "s/\\&/&/g;s/\\[paused\\].*//g;s/\\[playing\\].*//g" | tr -d '\n' | sed -e "s/$/<\\/span>\n/g" } case $BLOCK_BUTTON in