fix: remove dim step that leaks orphaned layer surfaces

dim creates a wlr-layer-shell surface that Hyprland never cleans up
when the process exits — leaves an opaque full-screen overlay (pid=-1)
covering the entire display until the layer tree is rebuilt.

Removing step 1 (dim) from hypridle prevents future occurrences.
unstick-display.sh now restarts waybar to force a layer tree rebuild
as a recovery measure.
This commit is contained in:
Jeena 2026-08-19 14:30:09 +09:00
parent 7d2a0100e9
commit 7e9bf498ff
2 changed files with 5 additions and 10 deletions

View file

@ -28,4 +28,8 @@ hyprctl dispatch dpms off
sleep 1
hyprctl dispatch dpms on
# Force a layer tree rebuild to clear orphaned surfaces (e.g. dim_layer)
pkill -x waybar 2>/dev/null
hyprctl dispatch exec waybar 2>/dev/null
echo "Done. Switch back to Hyprland (Ctrl+Alt+F2)."