tarch-configs/configs/bspwm/polybar/scripts/uparch.sh
Andrey Zimin 1b1b70daed add nvim
2024-03-10 13:30:59 +03:00

13 lines
217 B
Bash
Executable File

#!/bin/zsh
if ! all_packages_for_update=$(checkupdates 2> /dev/null | wc -l ); then
all_packages_for_update=0
fi
if [ "$all_packages_for_update" -gt 0 ]; then
echo "$all_packages_for_update"
else
echo "0"
fi