From 279a4a94303a9ca0bd8d4ca195b704d950d3624a Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Thu, 9 May 2019 16:16:55 +0200 Subject: [PATCH] sway: extend timeout for screen locking --- sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/config b/sway/config index a790075..e5f3448 100644 --- a/sway/config +++ b/sway/config @@ -47,8 +47,8 @@ output * bg /home/cgirard/Images/wallpaper.jpg fit # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. exec swayidle -w \ - timeout 300 'swaylock -f -c 000000' \ - timeout 600 'swaymsg "output * dpms off"' \ + timeout 600 'swaylock -f -c 000000' \ + timeout 1200 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000'