From 79e9fa781fb3cbaeb6356573f0b4d987f0449126 Mon Sep 17 00:00:00 2001 From: unwillexist <52836157+unwillexist@users.noreply.github.com> Date: Fri, 16 Aug 2019 13:49:30 +0300 Subject: [PATCH] use tail -r instead of tac (#360) 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