diff --git a/home/default/.config/sway/config b/home/default/.config/sway/config index 6b32415..c7cfe74 100644 --- a/home/default/.config/sway/config +++ b/home/default/.config/sway/config @@ -44,12 +44,12 @@ exec_always { # timeout exec swayidle -w \ timeout 300 'playerctl -a pause && swaylock' \ - timeout 600 'swaymsg "output * dpms off"' \ + timeout 600 'swaymsg "output * power off"' \ before-sleep 'playerctl -a pause' \ lock 'swaylock' \ - resume 'swaymsg "output * dpms on"' + resume 'swaymsg "output * power on"' -# screen lock +# system lock bindsym Ctrl+Shift+l exec "playerctl -a pause; \ systemctl suspend && \ swaylock"