dotfiles/symlinks/config/sway/conf.d/20_lockconfig

10 lines
264 B
Plaintext
Raw Normal View History

# Define locker script
set $locker ~/bin/lockscreen
bindsym $mod+L exec $locker
# IDLE CONFIG
exec swayidle -w \
timeout 300 $locker \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep $locker