From 9859c0ab03e16d64080c44d559df737a0b5771b3 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:18 +0100 Subject: feat(waybar): add mako notification counter module New mako-status.sh emits JSON with pending / history counts. Click to dismiss latest, right-click to dismiss all, middle-click to restore the last dismissed notification. --- dot_config/waybar/config.jsonc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'dot_config/waybar/config.jsonc') diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index 45d0bfc..46413ac 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -17,6 +17,7 @@ "clock", "idle_inhibitor", "privacy", + "custom/notifications", "tray", ], @@ -152,4 +153,14 @@ { "type": "audio-in", "tooltip": true }, ], }, + + "custom/notifications": { + "exec": "~/.config/waybar/mako-status.sh", + "return-type": "json", + "interval": 2, + "on-click": "makoctl dismiss", + "on-click-right": "makoctl dismiss --all", + "on-click-middle": "makoctl restore", + "tooltip": true, + }, } -- cgit v1.3.1