From d21953471e8e1599644d0274707ec032d0e02ce8 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 10 Apr 2022 15:23:08 -0300 Subject: [PATCH] sway: Usar lock --- .config/sway/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index c92faa3..0e5ea12 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -30,11 +30,11 @@ output * bg "~/Pictures/crash-novyj-albom-charli-xcx.jpg" fill # Example configuration: # exec swayidle -w \ - timeout 300 'swaylock -f -c ffffff' \ + timeout 300 'lock' \ 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 su -c 'echo mem > /sys/power/state'" + before-sleep 'lock' +bindsym $mod+m exec lock +bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'" ### Input configuration #