tweak idle config
This commit is contained in:
parent
8eacfede0c
commit
8f29d1fe55
@ -44,9 +44,9 @@ exec_always {
|
|||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'playerctl -a pause && swaylock' \
|
timeout 300 'playerctl -a pause && swaylock' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' \
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
|
||||||
before-sleep 'playerctl -a pause' \
|
before-sleep 'playerctl -a pause' \
|
||||||
lock 'swaylock'
|
lock 'swaylock' \
|
||||||
|
resume 'swaymsg "output * dpms on"'
|
||||||
|
|
||||||
# screen lock
|
# screen lock
|
||||||
bindsym Ctrl+Shift+l exec playerctl -a pause && \
|
bindsym Ctrl+Shift+l exec playerctl -a pause && \
|
||||||
|
Loading…
Reference in New Issue
Block a user