M .config/sway/config => .config/sway/config +1 -1
@@ 63,7 63,7 @@ bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
# Idle configuration and locking
-set $lock swaylock --screenshots --fade-in 1 --effect-blur 7x5 --effect-vignette 0.3:0.3 --clock --datestr "%A, %b %d" --timestr "%H:%M"
+set $lock swaylock --screenshots --fade-in 1 --grace 3 --grace-no-mouse --grace-no-touch --indicator-idle-visible --effect-blur 7x5 --effect-vignette 0.3:0.3 --clock --datestr "%A, %b %d" --timestr "%H:%M"
exec swayidle -w timeout 1800 $lock
bindsym $mod+Shift+w exec $lock
bindsym $mod+Shift+p exec ~/bin/suspend
M bin/suspend => bin/suspend +1 -1
@@ 1,6 1,6 @@
#!/usr/bin/env bash
# Blur before suspending to avoid a short delay on wake before blur takes effect.
notify-send Suspending -t 1900
-swaylock --grace 0 --screenshots --fade-in 1 --effect-pixelate 15 --clock --datestr "%A, %b %d" --timestr "%H:%M" &
+swaylock --screenshots --fade-in 0.8 --grace 0 --indicator-idle-visible --effect-blur 7x5 --effect-vignette 0.3:0.3 --clock --datestr "%A, %b %d" --timestr "%H:%M" &
sleep 3
systemctl suspend