1
0
Fork 0
gnu-plus-dotfiles/dot_config/sway
rain 27ae3a3b18 sway: drop -t 2000/-t 3000 from notify-send, source restore-wayland-env in toggle-dropdown/wifi-menu
The actual cause of 'caffeine notification doesn't show' was the
-t 2000 timeout: the notification popped for 2 seconds and self-cleared
before the user could see it. Manual notify-send from a terminal (no
-t flag) used mako's default-timeout=5000 and was visible — so the user
saw my test notifications but not their own clicks.

Fix: drop the -t flag everywhere so mako config owns the duration.
Added: source restore-wayland-env.sh in toggle-dropdown.sh and
wifi-menu.sh — same env-loss pattern as caffeine.sh, would have
been next on the bug list.

Verified on tadbit: -t 2000 notification visible at +0.5s, gone at
+2.5s (user missed it). No -t flag: visible at +0.5s, gone at +5.5s
(visible long enough to read).
2026-06-23 22:24:16 -04:00
..
caffeine.sh sway: drop -t 2000/-t 3000 from notify-send, source restore-wayland-env in toggle-dropdown/wifi-menu 2026-06-23 22:24:16 -04:00
cheatsheet.md Add sway/wofi/foot Wayland desktop stack with per-host toggle 2026-06-22 14:23:56 -04:00
cheatsheet.sh Add sway/wofi/foot Wayland desktop stack with per-host toggle 2026-06-22 14:23:56 -04:00
config sway: extract start-swayidle.sh as single source of truth (fix caffeine) 2026-06-23 21:51:09 -04:00
lock-fancy.sh Add sway/wofi/foot Wayland desktop stack with per-host toggle 2026-06-22 14:23:56 -04:00
restore-wayland-env.sh sway: factor env restoration into restore-wayland-env.sh, fix caffeine notify 2026-06-23 22:18:01 -04:00
start-swayidle.sh sway: factor env restoration into restore-wayland-env.sh, fix caffeine notify 2026-06-23 22:18:01 -04:00
toggle-dropdown.sh sway: drop -t 2000/-t 3000 from notify-send, source restore-wayland-env in toggle-dropdown/wifi-menu 2026-06-23 22:24:16 -04:00
wifi-menu.sh sway: drop -t 2000/-t 3000 from notify-send, source restore-wayland-env in toggle-dropdown/wifi-menu 2026-06-23 22:24:16 -04:00