From 4375bdbcfa1ac096b0f76d716853c9d9c9527bb3 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 7 Jul 2021 17:20:23 -0500 Subject: [PATCH] Added idle-lock variables --- .config/sway/available/10-variables.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/sway/available/10-variables.conf b/.config/sway/available/10-variables.conf index f09244b..621498d 100644 --- a/.config/sway/available/10-variables.conf +++ b/.config/sway/available/10-variables.conf @@ -36,3 +36,13 @@ set $cursor-hide-delay "4000" # Minimum Brightness set $minimum-brightness "6" + +# Idle settings +set $idle-display-timeout 600 +set $idle-display-sleep 'swaymsg "output * dpms off"' # set to ":" to disable feature +set $idle-display-wake 'swaymsg "output * dpms on"' # set to ":" to disable feature + +# Locker settings +set $idle-lock-timeout 900 +set $idle-lock-locker "swaylock -e -f -F -l -c 000000" # set to ":" to disable feature +set $idle-lock-unlocker "killall swaylock" # set to ":" to disable feature