From 26ceab690dff09d5162443b14adccfbe0e9bcd5d Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:42 +0100 Subject: 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 . - Update waybar config.jsonc on-click path. - Update KEYBINDS.md wording (no more 'marks seen' / 'pending set'). --- KEYBINDS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'KEYBINDS.md') diff --git a/KEYBINDS.md b/KEYBINDS.md index ea40b49..b30d746 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -338,10 +338,10 @@ Mod key: `Super` (Mod4). Only personal additions beyond sway defaults listed. | `Super+i` | Dictate toggle (whisper.cpp → wtype + clipboard) | | `Super+Shift+o` | OCR region (tesseract → clipboard) | | `Super+Shift+s` | Lock screen + pause media | -| `Super+n` | Dismiss visible notification (also marks it seen) | -| `Super+Shift+n` | Dismiss all visible notifications (mark all seen) | -| `Super+Ctrl+n` | Restore last dismissed; pop it back into the pending set | -| `XF86Favorites` | Notification history picker (Enter copies + dismisses) | +| `Super+n` | Dismiss top visible notification | +| `Super+Shift+n` | Dismiss all visible notifications | +| `Super+Ctrl+n` | Restore last dismissed notification (undo) | +| `XF86Favorites` | Notification picker (Enter copies + dismisses) | | `Super+p` | Clipboard history picker (wofi; Enter pastes, Alt-d deletes) | | `Super+Shift+p` | Clipboard history delete entry (Enter deletes) | | `Super+period` | Emoji picker (bemoji → wofi; types + copies) | @@ -372,7 +372,7 @@ launchers. | `d` | `XF86Display` | Display mode toggle | | `v` | `XF86Tools` | Floating pulsemixer | | `k` | `XF86Keyboard` | Floating glow KEYBINDS.md | -| `m` | `XF86Favorites` | mako notification history | +| `m` | `XF86Favorites` | Notification picker | | `n` | — | Toggle Do-Not-Disturb (mako)| | `Escape`/`Return` | — | exit submode | -- cgit v1.3.1