Vendor the command set the menu and shell depend on

This commit is contained in:
SirBlob committed 2026-09-19 23:57:12 -04:00
1 parent 9501f2bb4d
commit c5434026a8
179 files changed
+12414 -54

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# blob:summary=Print the number of pending package updates
# blob:hidden=true
pending=0
if blob-cmd-present checkupdates; then
pending=$(checkupdates 2>/dev/null | wc -l)
fi
if blob-cmd-present yay; then
aur=$(yay -Qua 2>/dev/null | wc -l)
pending=$((pending + aur))
fi
echo "$pending"