From f726a9afa6ba815ac8b5f4ce94a6295e74ff3980 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:37 +0100 Subject: fix(mako): Super+Shift+n also clears history from pending count dismiss-visible.sh's 'all' mode previously only recorded visible notification ids and ran 'makoctl dismiss --all'. Notifications already in mako's history (auto-expired) still counted as pending in waybar's mako-status. Now also append history ids to the dismissed state file so the pending counter actually drops to zero. --- dot_config/waybar/executable_dismiss-visible.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'dot_config') diff --git a/dot_config/waybar/executable_dismiss-visible.sh b/dot_config/waybar/executable_dismiss-visible.sh index 9264c46..0f4f987 100644 --- a/dot_config/waybar/executable_dismiss-visible.sh +++ b/dot_config/waybar/executable_dismiss-visible.sh @@ -30,6 +30,7 @@ case "$mode" in ;; all) list_ids >>"$state" || true + makoctl history 2>/dev/null | sed -n 's/^Notification \([0-9][0-9]*\):.*/\1/p' >>"$state" || true makoctl dismiss --all ;; *) -- cgit v1.3.1