tweak idle config

This commit is contained in:
shibao 2021-11-26 15:16:36 -05:00
parent 8eacfede0c
commit 8f29d1fe55

View File

@ -44,9 +44,9 @@ exec_always {
exec swayidle -w \
timeout 300 'playerctl -a pause && swaylock' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'playerctl -a pause' \
lock 'swaylock'
lock 'swaylock' \
resume 'swaymsg "output * dpms on"'
# screen lock
bindsym Ctrl+Shift+l exec playerctl -a pause && \