diff --git a/hypridle.conf b/hypridle.conf new file mode 100644 index 0000000..9c82226 --- /dev/null +++ b/hypridle.conf @@ -0,0 +1,21 @@ +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session + after_sleep_cmd = hyprctl dispatch dpms on +} + +listener { + timeout = 180 # 3mins + on-timeout = loginctl lock-session +} + +listener { + timeout = 300 # 5mins + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} + +listener { + timeout = 600 # 10mins + on-timeout = systemctl suspend-then-hibernate || loginctl suspend +}