From 98fbc511035711d8aa9aecf9e588ad4677d017df Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 24 Feb 2021 16:17:16 -0500 Subject: updated package block and image loader --- i3blocks-packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i3blocks-packages.sh') diff --git a/i3blocks-packages.sh b/i3blocks-packages.sh index 3f7b2ad..f139e28 100755 --- a/i3blocks-packages.sh +++ b/i3blocks-packages.sh @@ -2,6 +2,6 @@ icon=󰏖 doas pkg update 2>/dev/null >/dev/null -count=$(pkg upgrade -n | sed -n 's/^Number of packages to be installed:\(.*\)/\1/p') +count=$(pkg upgrade -n | sed -n 's/^Number of packages to be upgraded:\(.*\)/\1/p') [ -n "$count" ] && [ "$count" -gt 0 ] && printf "%s%s" $icon $count && notify-send "$count package upgrade(s) available" printf "\n" -- cgit v1.2.3