From 5d59b3927da16f589dfb961e54a86e6f14a480d6 Mon Sep 17 00:00:00 2001 From: mokulus <36231852+mokulus@users.noreply.github.com> Date: Fri, 24 Apr 2020 14:44:48 +0200 Subject: Fix minor statusbar issues (#597) * Fix: Remove trailing space from battery * Unify spacing in disk * Fix news Don't display news module when there are no news. * Use grep -F in pacpackages * Fix torrent Remove trailing whitespace *after* replacing newlines. * Quote sed command --- .local/bin/statusbar/pacpackages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/statusbar/pacpackages') diff --git a/.local/bin/statusbar/pacpackages b/.local/bin/statusbar/pacpackages index 49ba319..5a8d6f3 100755 --- a/.local/bin/statusbar/pacpackages +++ b/.local/bin/statusbar/pacpackages @@ -25,4 +25,4 @@ case $BLOCK_BUTTON in - Middle click to show upgradable packages" ;; esac -pacman -Qu | grep -cv "\[ignored\]" | sed "s/^/📦/;s/^📦0$//g" +pacman -Qu | grep -Fcv "[ignored]" | sed "s/^/📦/;s/^📦0$//g" -- cgit v1.3.1