From b4b89b521837ea2a99b2bc0ab6a8c256bea6c0e4 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sat, 12 Mar 2022 16:35:18 -0300 Subject: [PATCH] sway: Suspender sin pm-suspend --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index e4a203c..6d8c5c8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -34,7 +34,7 @@ exec swayidle -w \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c ffffff' bindsym $mod+m exec swaylock -bindsym $mod+Shift+m exec "swaylock -f && doas pm-suspend" +bindsym $mod+Shift+m exec "swaylock -f && doas su -c 'echo mem > /sys/power/state'" ### Input configuration #