diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-07-23 19:27:44 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-07-23 19:27:44 +0200 |
commit | b6dce5472076dc54aecf3e79fac816dca01b8f30 (patch) | |
tree | 0baf6d4519c72c82d4728bd0622f89cd90a75d95 | |
parent | Added support for devel update checking (1/2) (diff) | |
download | dwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.tar.gz dwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.tar.bz2 dwm-b6dce5472076dc54aecf3e79fac816dca01b8f30.zip |
Added support for devel update checking (1.5/2)
-rwxr-xr-x | scripts/dwm-status | 4 |
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")) |