From 4adc7a808f10ec4133bf16fbceea49ec6ed1560a Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:05:06 -0500 Subject: Add suspend timeout to hypridle --- hypr/hypridle.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 39ed177..df2b123 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -7,7 +7,13 @@ general { } listener { - timeout = 600 # in seconds + timeout = 300 # in seconds on-timeout = loginctl lock-session # command to run when timeout has passed on-resume = # command to run when activity is detected after timeout has fired. } + +listener { + timeout = 360 # in seconds + on-timeout = systemctl suspend # command to run when timeout has passed + on-resume = # command to run when activity is detected after timeout has fired. +} -- cgit v1.2.3