hypr-dotfiles/hypr/hyprlock.conf
Jeena 11d2d51544 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
2026-05-09 08:36:01 +09:00

40 lines
910 B
Text

animations {
animation = fadeOut, 0
}
background {
path = ~/.config/hypr/wallpapers/Purple.jpg
blur_passes = 2
color = rgba(0, 0, 0, 0.2) # slightly darken overlay
}
label {
text = $TIME
color = rgba(255, 255, 255, 0.5)
font_size = 200
font_family = Curved Square
position = 0, 0
halign = center
valign = center
}
input-field {
size = 8%, 3%
outline_thickness = 0
inner_color = rgba(255, 182, 193, 0.3) # transparent background
outer_color = rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 1.0) 90deg
check_color = rgba(255, 50, 80, 0.9) rgba(255, 0, 100, 0.9) 30deg
fail_color = rgba(255, 50, 80, 0.9) rgba(255, 0, 100, 0.9) 30deg
font_color = rgba(255, 255, 255, 0.9)
fade_on_empty = true
rounding = 20
position = 0, 60
halign = center
valign = bottom
font_family = Roboto
placeholder_text = $LAYOUT
}