diff --git a/home/linux/gui/base/hypridle/hypridle.conf b/home/linux/gui/base/hypridle/hypridle.conf index 02a35bf5..aadf734a 100644 --- a/home/linux/gui/base/hypridle/hypridle.conf +++ b/home/linux/gui/base/hypridle/hypridle.conf @@ -1,7 +1,6 @@ general { lock_cmd = noctalia-shell ipc call lockScreen lock # avoid starting multiple instances before_sleep_cmd = noctalia-shell ipc call lockScreen lock # lock before suspend - # after_sleep_cmd = hyprctl dispatch dpms on # resume dpms after suspend ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests } @@ -19,6 +18,12 @@ listener { # the user had made those adjustments. niri (26.04) has no built-in idle timers, # so hypridle stays responsible for keyboard backlight, dpms and locking below. +listener { + timeout = 900 # 15 minutes + on-timeout = niri msg action power-off-monitors # DPMS off via niri + on-resume = niri msg action power-on-monitors # DPMS on via niri +} + listener { timeout = 1200 # 20 minutes on-timeout = noctalia-shell ipc call lockScreen lock # lock screen