fix: lock screen on lid close without desktop flash on open

- Add lid-close.sh: starts hyprlock in background and immediately cuts
  the display via dpms off, so the display is dark while hyprlock renders
- William.conf: bind lid close to lid-close.sh; bind lid open to kill dim
  and turn display back on
- lock.sh: pass --no-fade-in to hyprlock
- hyprlock.conf: disable fadeOut animation
- hypridle.conf: add inhibit_sleep = 3 and use loginctl lock-session
This commit is contained in:
Jeena 2026-05-08 23:10:37 +00:00
parent 0f64cf7137
commit 11d2d51544
4 changed files with 16 additions and 10 deletions

View file

@ -1,3 +1,7 @@
animations {
animation = fadeOut, 0
}
background {
path = ~/.config/hypr/wallpapers/Purple.jpg
blur_passes = 2