From fc6c55ed5e890842f3d159e4eef5bd02e85a0fa9 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 18 Nov 2019 23:09:46 +0100 Subject: [PATCH] Split regular and AUR updates (polybar) --- .config/polybar/scripts/updates-arch-combined.sh.laptop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/scripts/updates-arch-combined.sh.laptop b/.config/polybar/scripts/updates-arch-combined.sh.laptop index 4692365..89d0a14 100755 --- a/.config/polybar/scripts/updates-arch-combined.sh.laptop +++ b/.config/polybar/scripts/updates-arch-combined.sh.laptop @@ -6,7 +6,7 @@ if [ $? -eq 0 ]; then updates_aur=$(/usr/bin/checkupdates-aur | wc -l) updates=$(("$updates_arch" + "$updates_aur")) if [ "$updates" -gt 0 ]; then - echo "%{F#dd7777}%{F#ddd} $updates" + echo "%{F#dd7777}%{F#ddd} $updates_arch | $updates_aur" else echo "%{F#77dd77}%{F#ddd} 0" fi