Update Polybar update count script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2021-01-24 18:49:24 +01:00
parent 4171165372
commit 0f4429037c
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

View file

@ -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}"