diff --git a/.scripts/cron/checkup b/.scripts/cron/checkup index 016ee90..770c349 100755 --- a/.scripts/cron/checkup +++ b/.scripts/cron/checkup @@ -10,7 +10,7 @@ sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates. Check your internet connection, if pacman is already running, or run update manually to see errors." pkill -RTMIN+8 i3blocks -if pacman -Qu | grep -v "[ignored]" +if pacman -Qu | grep -v "\[ignored\]" then notify-send -i "$PIX/larbs.gif" "Package updates available. Click statusbar icon (📦) for update." else diff --git a/.scripts/statusbar/pacpackages b/.scripts/statusbar/pacpackages index 9164830..9ec679e 100755 --- a/.scripts/statusbar/pacpackages +++ b/.scripts/statusbar/pacpackages @@ -16,4 +16,4 @@ case $BLOCK_BUTTON in esac -pacman -Qu | grep -v "[ignored]" | wc -l | sed -e "s/^0$//g" +pacman -Qu | grep -v "\[ignored\]" | wc -l | sed -e "s/^0$//g"