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 #