diff options
-rwxr-xr-x | i3blocks-packages.sh | 2 | ||||
-rwxr-xr-x | imager.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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" @@ -1,2 +1,2 @@ #!/bin/sh -find . -type f -maxdepth 1 -exec sxiv "$1" "{}" + +find . -type f -maxdepth 1 -exec sxiv -a "$1" "{}" + |