about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-07-23 19:27:44 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-07-23 19:27:44 +0200
commitb6dce5472076dc54aecf3e79fac816dca01b8f30 (patch)
tree0baf6d4519c72c82d4728bd0622f89cd90a75d95
parentAdded support for devel update checking (1/2) (diff)
downloaddwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.tar.gz
dwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.tar.bz2
dwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.zip
Added support for devel update checking (1.5/2)
-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"))