From 74df81e9d07189d2208e7100ceb3efc3008a6874 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 9 Nov 2023 12:36:21 -0500 Subject: [PATCH] add 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 ae01829..13a6123 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"