Update Polybar update count script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
4171165372
commit
0f4429037c
1 changed files with 2 additions and 0 deletions
|
@ -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}"
|
Loading…
Add table
Add a link
Reference in a new issue