diff --git a/system/.config/polybar/scripts/update-count b/system/.config/polybar/scripts/update-count index 22aeebc..025f1f0 100755 --- a/system/.config/polybar/scripts/update-count +++ b/system/.config/polybar/scripts/update-count @@ -13,5 +13,7 @@ # ./update-count UPDATES=$(checkupdates | wc -l) AUR_UPDATES=$(paru -Qua --devel 2>&1 | wc -l) +# Need to increase this value by one, as wc -l counts only newlines... +AUR_UPDATES=$((AUR_UPDATES + 1)) echo "${UPDATES} / ${AUR_UPDATES}" \ No newline at end of file