diff options
Diffstat (limited to 'scripts/dwm-status')
-rwxr-xr-x | scripts/dwm-status | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status index ffd37e7..d19d100 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -31,12 +31,15 @@ updates() { # if ! updates_aur=$(cower -u 2> /dev/null | wc -l); then if ! updates_aur=$(trizen -Su --aur --quiet | wc -l); then updates_aur=0 + else + updates_aur=0 fi else - updates_aur=0 + : fi - - updates=$(("$updates_arch" + "$updates_aur")) + # TODO: Implenent devel update accounting + updates_devel=0 + updates=$(("$updates_arch" + "$updates_aur" + "$updates_devel")) if [ "$updates" -gt 0 ]; then echo " Updates: $updates" |