Commit 0c875e4

Ansari <ping@ansari.wtf>
2026-02-23 06:53:12
modified update command in packages.sh
1 parent b591333
Changed files (1)
.wraith
.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