diff options
| author | 2026-05-13 13:43:37 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:37 +0100 | |
| commit | f726a9afa6ba815ac8b5f4ce94a6295e74ff3980 (patch) | |
| tree | a9d9f483c30939517209abe14c0101fdf667b133 | |
| parent | 9ed9bf58e5f21ab9295c306ac390e8873a771bee (diff) | |
| download | dotfiles-f726a9afa6ba815ac8b5f4ce94a6295e74ff3980.tar.gz dotfiles-f726a9afa6ba815ac8b5f4ce94a6295e74ff3980.tar.bz2 dotfiles-f726a9afa6ba815ac8b5f4ce94a6295e74ff3980.zip | |
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.
| -rw-r--r-- | dot_config/waybar/executable_dismiss-visible.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 ;; *) |
