diff options
Diffstat (limited to '.config/sway/config')
-rw-r--r-- | .config/sway/config | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/sway/config b/.config/sway/config index 9aede99..843d522 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -21,7 +21,7 @@ set $select_screenshot grim -g "$(slurp)" ~/Downloads/screenshot-"$(date +'%Y-%m set $screenshot grim ~/Downloads/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png # lock -set $lock swaylock -f -c 000000 +set $lock setsid -f waylock # brightness set $brightness_up backlight -i "5" @@ -256,13 +256,13 @@ bar { } # Execs -exec [ -x /usr/bin/swayidle ] && [ -x /usr/bin/swaylock ] && swayidle -w \ - timeout 300 'swaylock -F -f -e -c 000000' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' exec [ -x /usr/bin/gammastep ] && /usr/bin/gammastep exec [ -x /usr/bin/lxpolkit ] && /usr/bin/lxpolkit exec [ -x /usr/bin/nextcloud ] && /usr/bin/nextcloud +exec [ -x /usr/bin/swayidle ] && [ -x /usr/bin/waylock ] && swayidle -w \ + timeout 300 'setsid -f waylock' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep 'setsid -f waylock' include /etc/sway/config.d/* |