From be29a4b29addd37435128f763b8ec7921732e2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Fri, 29 Dec 2023 10:18:51 +0300 Subject: [PATCH] Lock screen after 120s --- .config/hypr/hyprland.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 322adf9..a08f16c 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -34,8 +34,8 @@ exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1 # Dim screen after 60 seconds of inactivity exec-once = swayidle -w timeout 60 'dim-screen &' resume 'undim-screen' -# Lock screen after idle for 300s -exec-once = swayidle -w timeout 300 'lock-screen' +# Lock screen after idle for 120s +exec-once = swayidle -w timeout 120 'lock-screen' # Dim screen 5 seconds after screen is locked. no -w option here. exec-once = swayidle timeout 5 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen' # Turn monitors off 20 seconds after screen is locked