From 555eec73c91c3e4c9e930b7c5746931b11ad5dee Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 21 Jan 2024 11:48:35 -0500 Subject: [PATCH] tweak sway config for idle --- home/default/.config/sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"