don't make lock command reliant on playerctl

This commit is contained in:
shibao 2021-11-28 13:09:10 -05:00
parent 6979a7df14
commit 54e44982c5

View File

@ -49,12 +49,12 @@ exec swayidle -w \
resume 'swaymsg "output * dpms on"'
# screen lock
bindsym Ctrl+Shift+l exec playerctl -a pause && \
bindsym Ctrl+Shift+l exec "playerctl -a pause; \
systemctl suspend && \
swaylock
swaylock"
# screen lock
bindsym Ctrl+Alt+l exec playerctl -a pause && \
bindsym Ctrl+Alt+l exec "playerctl -a pause; \
swaylock
### input configuration