diff options
Diffstat (limited to '.config/hypr/hypridle.conf')
| -rw-r--r-- | .config/hypr/hypridle.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index a2f5f1e..c3e56cd 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -9,3 +9,13 @@ listener { on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. } + +listener { + timeout = 120 # 2min + on-timeout = loginctl lock-session # lock screen when timeout has passed +} + +listener { + timeout = 900 # 30min + on-timeout = systemctl suspend # suspend pc +} |
