diff --git a/templates/bin/waybar-void-update-checker b/templates/bin/waybar-void-update-checker index 2694263..bc8f2c9 100755 --- a/templates/bin/waybar-void-update-checker +++ b/templates/bin/waybar-void-update-checker @@ -5,7 +5,7 @@ set -e info="$(xbps-install -Mun)" [ -z $info ] && exit -PKG_COUNT="$(echo -n "$info" | wc -l)" +PKG_COUNT="$(echo "$info" | wc -l)" DL_SIZE="$(echo "$info" | awk '{s+=$6}END{print s}' | numfmt --to=iec-i)B"