Waybar: Utilize checkupdates-with-aur package
This commit is contained in:
parent
1c1f7e40de
commit
1281bd6733
|
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
updates="$(paru -Qua | wc -l)"
|
count="$(checkupdates-with-aur | wc -l)"
|
||||||
|
|
||||||
count="$(echo "$(paru -Qua | wc -l) + $(pacman -Qu | wc -l)" | bc)"
|
|
||||||
|
|
||||||
class="ok"
|
class="ok"
|
||||||
if [ "$count" -gt 0 ]; then
|
if [ "$count" -gt 0 ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue