Commit 0c875e4
Changed files (1)
.wraith
scripts
.wraith/scripts/packages.sh
@@ -1,7 +1,6 @@
packages_total() {
- total=$(pacman -Qe | wc -l)
- updates=$(pacman -Qu | wc -l)
-
+ total=$(pacman -Qe | wc -l)
+ updates=$(checkupdates | wc -l)
if [ "$updates" -gt 0 ]; then
text=" $total"
tooltip="Updates available"
@@ -85,4 +84,4 @@ case "$1" in
echo "Error: Unknown command: $1" >&2
exit 1
;;
-esac
\ No newline at end of file
+esac