config/niri/hypridle.conf (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
general {
lock_cmd = hyprlock
}
listener { # screen lock
timeout = 210
on-timeout = loginctl lock-session
}
listener { # turn off screens
timeout = 260
on-timeout = niri msg action power-off-monitors
on-resume = niri msg action power-on-monitors
}
listener { # suspend
timeout = 500
on-timeout = systemctl suspend
}
|