A Waybar custom module that displays the Dunst notification history count.
- Tcl 100%
| CLAUDE.md | ||
| LICENSE | ||
| README.md | ||
| waybar-dunst.tcl | ||
waybar-dunst
A Waybar custom module that displays the Dunst notification history count.
Description
waybar-dunst.tcl monitors Dunst notification events via D-Bus and outputs the history count for display in Waybar. It reacts to new notifications, closed notifications, and history clears without polling.
Dependencies
tclshdunstctl(part of Dunst)dbus-monitor
Usage
Configure a custom module in your Waybar config ~/.config/waybar/config.jsonc:
"custom/notifications": {
"exec": "/path/to/waybar-dunst.tcl",
}
License
3-Clause BSD — see LICENSE.