Fix bug in update script
This commit is contained in:
parent
05f12bc50e
commit
18a0671aaa
@ -14,9 +14,9 @@ case "$action" in
|
||||
;;
|
||||
|
||||
" Show packages")
|
||||
packages() { pacman -Qu; }
|
||||
packages() { pacman -Qu | wc -l ;}
|
||||
if [ "$(packages)" -gt 0 ]; then
|
||||
pacman -Qu | dmenu -l 50
|
||||
pacman -Qu | rofi -dmenu -l 50
|
||||
else notify-send "Nothing to update!"
|
||||
fi
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user