From 961d281dfedb93193e63345c5c0ab8e999df7f97 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 20 Jul 2022 16:06:06 +0200 Subject: [PATCH] Add -e. Add note on more swaylock options --- arch-config/.config/sway/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch-config/.config/sway/config b/arch-config/.config/sway/config index fdfad25d..8a675082 100644 --- a/arch-config/.config/sway/config +++ b/arch-config/.config/sway/config @@ -63,10 +63,12 @@ output * bg ~/.cache/betterlockscreen/current/wall_dim.png fill # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. +# -c 000000 sets the color in RGB +# use -i to set an image exec swayidle -w \ - timeout 20 'swaylock -f -c 000000' \ + timeout 20 'swaylock -f -e -c 000000' \ timeout 40 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - before-sleep 'swaylock -f -c 000000' + before-sleep 'swaylock -f -e -c 000000' ### Input configuration #