From b6dce5472076dc54aecf3e79fac816dca01b8f30 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Tue, 23 Jul 2019 19:27:44 +0200 Subject: Added support for devel update checking (1.5/2) --- scripts/dwm-status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dwm-status b/scripts/dwm-status index 95758af..07046ba 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -30,9 +30,9 @@ updates() { if (( $counter % 60 == 0 )); then #this is done to add a delay and not saturate aur requests if ! updates_aur=$(yay -Qum --devel 2> /dev/null | wc -l); then updates_aur=0 - fi + fi else - updates_aur=0 + : fi updates=$(("$updates_arch" + "$updates_aur")) -- cgit 1.4.1