diff options
author | ZachIR <zachir@librem.one> | 2024-10-31 12:05:06 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2024-10-31 12:05:06 -0500 |
commit | 4adc7a808f10ec4133bf16fbceea49ec6ed1560a (patch) | |
tree | 75c097459a4da916e8f898456d143f8ba8f44036 /hypr/hypridle.conf | |
parent | 3489c08e374d6cde5c0268ccb356a6907f9a0d1a (diff) |
Add suspend timeout to hypridle
Diffstat (limited to 'hypr/hypridle.conf')
-rw-r--r-- | hypr/hypridle.conf | 8 |
1 files changed, 7 insertions, 1 deletions
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. +} |