about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/dwm-status4
1 files 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"))