From 08787600c2065d49ce560186b619ac25fe1622fb Mon Sep 17 00:00:00 2001 From: Mosder Date: Mon, 8 Dec 2025 19:49:48 +0000 Subject: desktop hyprland --- desktop/.config/hypr/hypridle.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 desktop/.config/hypr/hypridle.conf (limited to 'desktop/.config/hypr/hypridle.conf') diff --git a/desktop/.config/hypr/hypridle.conf b/desktop/.config/hypr/hypridle.conf new file mode 100644 index 0000000..1210312 --- /dev/null +++ b/desktop/.config/hypr/hypridle.conf @@ -0,0 +1,17 @@ +general { + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. +} + +# after 5 min, lock +listener { + timeout = 300 + on-timeout = loginctl lock-session +} + +# after 30 min, suspend +listener { + timeout = 1800 + on-timeout = systemctl suspend +} -- cgit v1.2.3 From e1d9d88491e4b8d01415a1e94291c92b8e48d509 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 9 Dec 2025 14:36:59 +0000 Subject: desktop longer time to idle --- desktop/.config/hypr/hypridle.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop/.config/hypr/hypridle.conf') diff --git a/desktop/.config/hypr/hypridle.conf b/desktop/.config/hypr/hypridle.conf index 1210312..b328f6d 100644 --- a/desktop/.config/hypr/hypridle.conf +++ b/desktop/.config/hypr/hypridle.conf @@ -4,14 +4,14 @@ general { after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } -# after 5 min, lock +# after 30 min, lock listener { - timeout = 300 + timeout = 1800 on-timeout = loginctl lock-session } -# after 30 min, suspend +# after 1 hour, suspend listener { - timeout = 1800 + timeout = 3600 on-timeout = systemctl suspend } -- cgit v1.2.3