A DankMaterialShell widget that checks for pending DNF and Flatpak updates and lets you run them directly from the bar.
- Fix: Ghost flatpak updates from OCI-backed remotes (e.g. Fedora's registry) —
flatpak remote-ls --updatesproduces false positives for OCI remotes because it compares OSTree commit hashes, which are non-deterministic for OCI images.flatpak updatecorrectly compares OCI manifest digests and reports nothing to do. The plugin now detects OCI remotes at runtime and excludes their apps from the update count.
- Fix: "Nothing to do" when clicking Update Flatpak — all apps were system-scope but the update command ran without sudo (user-scope only). Now runs
flatpak update --user -ythensudo flatpak update --system -yto cover both. - Fix: Plugin count now auto-refreshes ~90 seconds after triggering an update, so the display clears once the update finishes.
- Fix: Flatpak updates always showing 0 — the pre-check (
flatpak update --no-pull --no-deploy) never fetched from remotes so it always returned "Nothing to do" and exited early. Now goes straight toflatpak remote-ls --updateswhich correctly reads available updates from cached remote metadata. - Fix: DNF command changed from
--assumeyes(wrong flag for a list operation) to-q(quiet) for cleaner, more reliable output. - Fix: DNF parser now filters additional dnf5 header lines (
Upgrades,Name,Obsoleting) preventing them from appearing as ghost packages.
- Shows total pending update count in the bar pill
- Lists available DNF package updates with version numbers
- Lists available Flatpak app updates with remote origin
- Update DNF button — opens a terminal and runs
sudo dnf upgrade -y - Update Flatpak button — opens a terminal and runs
flatpak update -y - Configurable refresh interval
- Configurable terminal application
dms plugins install pkgUpdate
# or use the Plugins tab in DMS Settingscp -r pkgUpdate ~/.config/DankMaterialShell/plugins/Then enable the widget in the DMS Plugins tab and add it to DankBar.
| Setting | Default | Description |
|---|---|---|
| Terminal Application | alacritty |
Terminal used to run updates (kitty, foot, ghostty, etc.) |
| Refresh Interval | 60 min |
How often to check for updates (5–240 min) |
| Show Flatpak Updates | true |
Toggle Flatpak section on/off |
dnf(standard on Fedora/RHEL-based systems)flatpak(optional, can be disabled in settings)- A terminal emulator that accepts
-eto run a command
MIT
