Files
nixos-config/modules
daniil-bergandClaude Opus 4.8 102fb3c3c4 fix(home): relaunch waybar on monitor hotplug instead of SIGUSR2 reload
A real DP/HDMI unplug makes Hyprland tear down the layer-shell surfaces on
the surviving monitor and not recreate them, so waybar and the wallpaper
vanish there. A SIGUSR2 reload rereads waybar's config but does not
recreate a bar that was already destroyed, so it left the laptop bar gone.
Kill and restart waybar instead — a fresh process enumerates the current
outputs and draws a bar on each — and add a settle delay before re-pushing
the wallpaper so it lands on the settled geometry. Verified against a real
DP-1 unplug: the LVDS-1 bar and wallpaper survive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-09 11:37:03 +02:00
..
2026-07-05 15:40:35 +02:00