diff --git a/arch-config/.config/sway/config b/arch-config/.config/sway/config index 0d1cf07f..1529ce63 100644 --- a/arch-config/.config/sway/config +++ b/arch-config/.config/sway/config @@ -79,10 +79,10 @@ output "Acer Technologies XV272U V R307036FE4208" adaptive_sync on # -c 000000 sets the color in RGB (no alpha supported) # use -i to set an image exec swayidle -w \ - timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen"' \ # lock screen after 5 min - timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ # poweroff display after 10 min - before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen"' \ # lock screen before going to sleep - before-sleep 'playerctl pause' # pause media before sleeping + timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen"' \ + timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen"' \ + before-sleep 'playerctl pause' ### Key bindings #