A Waybar custom module that displays the Dunst notification history count.
Find a file
2026-03-27 11:32:44 +01:00
CLAUDE.md Replace polling loop with event-driven dbus-monitor approach 2026-03-26 16:45:20 +01:00
LICENSE Add README and 3-clause BSD license 2026-03-27 11:14:27 +01:00
README.md doc 2026-03-27 11:32:44 +01:00
waybar-dunst.tcl Port to Tcl, add dunstproject D-Bus interface for history-clear 2026-03-27 09:03:04 +01:00

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

  • tclsh
  • dunstctl (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.