From 19766e27a05c3c30fa7dc78ec0018bde979532b7 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 1 Mar 2020 22:19:40 +0100 Subject: [PATCH] fix: remove arch-updates module after update (fix echo output) --- .config/polybar/scripts/arch-updates.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/polybar/scripts/arch-updates.sh b/.config/polybar/scripts/arch-updates.sh index 4f6d423..0181395 100755 --- a/.config/polybar/scripts/arch-updates.sh +++ b/.config/polybar/scripts/arch-updates.sh @@ -4,4 +4,6 @@ pkg_updates_count=$(pacman -Qu | wc -l) if [ $((pkg_updates_count)) -gt 0 ] then echo $pkg_updates_count +else + echo "" fi