From 38d253000b5dead5238e16612bec222d1b8875f1 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Charavel Date: Sat, 25 Oct 2025 19:38:44 -0400 Subject: [PATCH] Update Sway --- .config/sway/config | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index e9d5501..75646c3 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -95,10 +95,12 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ -# before-sleep 'swaylock -f -c 000000' +bindsym $mod+Escape exec swaylock -f -c 000000 + +exec swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + before-sleep 'swaylock -f -c 000000' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when