From d495f5756c983f36ef046956371d959e08aa90e4 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Mon, 15 Jul 2024 12:59:41 +0200 Subject: [PATCH] swayidle: Set `screenlock` as global locker --- tree/.config/swayidle/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tree/.config/swayidle/config b/tree/.config/swayidle/config index 2dad369..0a958b6 100644 --- a/tree/.config/swayidle/config +++ b/tree/.config/swayidle/config @@ -1,4 +1,6 @@ +lock '$HOME/.local/bin/screenlock' + timeout 530 'notify-send "Locking in 30s"' -before-sleep 'screenlock' -timeout 600 'screenlock' +before-sleep 'loginctl lock-session' +timeout 600 'loginctl lock-session' timeout 610 'niri msg action power-off-monitors'