diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2024-02-09 10:38:24 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2024-02-14 12:50:29 -0500 |
commit | ba2f338633c0ce52a3a4c0d3e7712594269b4fa9 (patch) | |
tree | 4cf1ba6af96896bae8ced390d686c86f31f54ae9 | |
parent | 3193c3c1f04b3cbc2a1c9de4e1d25ee9423a45e1 (diff) |
increase swaylock timeout
-rwxr-xr-x | desktop/.config/sway/config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/.config/sway/config b/desktop/.config/sway/config index dfb3040..4e8b396 100755 --- a/desktop/.config/sway/config +++ b/desktop/.config/sway/config @@ -46,8 +46,8 @@ include /etc/sway/config-vars.d/* # 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 900 'swaylock -f -c 000000' \ - timeout 960 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + timeout 3600 'swaylock -f -c 000000' \ + timeout 3600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000' bindsym $mod+Shift+z exec --no-startup-id 'swaylock' |