#-------- hypridle configuration -------------------------------------------------------- #----- general configuration ------------------------------------------------------------ general { lock_cmd = pidof hyprlock || hyprlock # lock command before_sleep_cmd = loginctl lock-session # before sleep command is lock-session after_sleep_cmd = hyprctl dispatch dpms on } #---------------------------------------------------------------------------------------- listener { timeout = 150 on-timeout = brightnesctl -s set 10 on-resume = brightnesctl -r } #----- listener 600 seconds(10 minutes) ------------------------------------------------- listener { timeout = 600 # timeout on-timeout = loginctl lock-session # command when timeout } #---------------------------------------------------------------------------------------- #------ listener 7200 seconds(2 hours) -------------------------------------------------- listener { timeout = 7200 # timeout on-timeout = hyprctl dispatch dpms off # command when timeout on-resume = hyprctl dispatch dpms on # command when timeout } #---------------------------------------------------------------------------------------- listener { timeout = 8000 on-timeout = systemctl suspend } #----------------------------------------------------------------------------------------