# Hypridle configuration # Replaces xautolock -time 5 -locker slock general { lock_cmd = pidof hyprlock || hyprlock before_sleep_cmd = loginctl lock-session after_sleep_cmd = hyprctl dispatch dpms on } # Screen dim after 5 minutes listener { timeout = 300 on-timeout = brightnessctl -s set 10% on-resume = brightnessctl -r } # Lock screen after 7 minutes listener { timeout = 420 on-timeout = loginctl lock-session }