Add waybar update counter and up script, drop Steam/Waterfox/Discord buttons

Show all 8 workspaces persistently in the workspaces module.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-06 11:10:50 +01:00
co-authored by Claude Opus 5.5
parent 91e2c8695f
commit 6af444ad72
4 changed files with 34 additions and 27 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# waybar-updates: prints pending repo + AUR update count, nothing when up to date
repo=$(checkupdates 2>/dev/null)
aur=$(yay -Qua 2>/dev/null)
list=$(printf '%s\n%s\n' "$repo" "$aur" | sed '/^$/d')
[ -z "$list" ] && exit 0
count=$(wc -l <<<"$list")
tooltip=$(head -40 <<<"$list" | sed 's/&/\&amp;/g; s/</\&lt;/g' | sed ':a;N;$!ba;s/\n/\\n/g')
printf '{"text": "UPD: %s", "tooltip": "%s"}\n' "$count" "$tooltip"