[FEATURE] Available package updates number on the taskbar
What would you like to be added?
A small number on the taskbar that would indicate how many available updates can be installed. Can be toggleable in the settings.
How will it help?
I believe this would help many users to keep up with the fast paced updates on rolling release distros like arch
Extra info
No response
There's actually a package on AUR called checkupdatify that fits this use case quite well. It's a small collection of scripts that check for pending updates on Arch and send desktop notifications via notify-send.
Out of the box it only checks official repos, but with a small modification to the checkupdatify_checker script you can also pull in AUR updates using yay -Qua. I've been running a modified version of it myself — here's what it does:
- Checks both official repos and AUR for pending updates
- Smart dedup: compares the current update list against the previous run's snapshot, and only sends a notification if something actually changed — so you won't get spammed with the same notification every hour
- The notification body shows only the newly appeared packages since the last check (via
comm -23diff), with[official]and[AUR]sections - Writes the update lists to
/tmp/so other tools (e.g. Waybar) can consume them too
Since Caelestia already handles notify-send natively, the notifications show up in the notification center without any extra integration needed.
The setup is just:
- Install
checkupdatifyfrom AUR - Modify
checkupdatify_checkerto also callyay -Quaand add the dedup logic - Enable the systemd timer — done
This way the feature doesn't need to be baked into the shell at all. That said, if there's interest in a native taskbar badge showing the update count, the /tmp/checkupdatify_pending_* files this script writes could be polled directly from QML.
Here's my modified version of the script if you'd like to take a look: https://gist.github.com/Mestane/060c5449b43aa59a60b1f179d421f3e5
Screenshots
I would recommend using the aur package arch-update
You might as well check out shelly, which does the same as a notification