From 7809f996ada65ac91830a11a85668dde5f94e375 Mon Sep 17 00:00:00 2001 From: unwillexist <52836157+unwillexist@users.noreply.github.com> Date: Thu, 15 Aug 2019 22:40:48 +0300 Subject: [PATCH] use tail -r instead of tac use tail -r instead of tac --- .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..6d93f8fc 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" | tail -r | sed -e "s/\\&/&/g;s/\\[paused\\].*//g;s/\\[playing\\].*//g" | tr -d '\n' | sed -e "s/$/<\\/span>/g" } case $BLOCK_BUTTON in