diff options
| author | 2026-05-13 13:43:42 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:42 +0100 | |
| commit | 26ceab690dff09d5162443b14adccfbe0e9bcd5d (patch) | |
| tree | acfd10c910e1a73c47d4be118348163705dae57d /dot_config/waybar/config.jsonc | |
| parent | ae464450eb68fb154181823d059cf7124258ad2c (diff) | |
| download | dotfiles-26ceab690dff09d5162443b14adccfbe0e9bcd5d.tar.gz dotfiles-26ceab690dff09d5162443b14adccfbe0e9bcd5d.tar.bz2 dotfiles-26ceab690dff09d5162443b14adccfbe0e9bcd5d.zip | |
refactor(notifications): drop dismissed-state machinery; pending = visible
Set mako default-timeout=0 so notifications stay until acted upon. With
auto-timeout off, mako's list IS the pending set, so the
$XDG_RUNTIME_DIR/mako-dismissed bridge becomes dead weight.
- mako/config: default-timeout=0; drop redundant [urgency=critical]
default-timeout=0 override.
- Delete dismiss-visible.sh and restore-pending.sh; sway calls makoctl
directly (Mod+n=dismiss, Mod+Shift+n=dismiss --all,
Mod+Ctrl+n=restore as undo).
- Shrink mako-status.sh to a 20-line counter of makoctl list.
- Rename mako-history.py -> notification-picker.py; lists only
visible, dismisses via makoctl dismiss -n <id>.
- Update waybar config.jsonc on-click path.
- Update KEYBINDS.md wording (no more 'marks seen' / 'pending set').
Diffstat (limited to 'dot_config/waybar/config.jsonc')
| -rw-r--r-- | dot_config/waybar/config.jsonc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index a5bada7..e5ea09b 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -209,7 +209,7 @@ "exec": "~/.config/waybar/mako-status.sh", "return-type": "json", "interval": 2, - "on-click": "~/.config/waybar/mako-history.py", + "on-click": "~/.config/waybar/notification-picker.py", "on-click-right": "makoctl dismiss --all", "on-click-middle": "makoctl restore", "tooltip": true, |
