diff --git a/.config/sway/config b/.config/sway/config index e68303b..b77f35d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -44,10 +44,10 @@ output VGA-1 disable # Example configuration: # exec swayidle -w \ - timeout 900 'swaylock -f -c 000000' \ + timeout 900 '"waylock &"' \ timeout 1200 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' + before-sleep '"waylock &"' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when diff --git a/.config/waylock/waylock.toml b/.config/waylock/waylock.toml new file mode 100644 index 0000000..30fe860 --- /dev/null +++ b/.config/waylock/waylock.toml @@ -0,0 +1,9 @@ +# waylock.toml + +[colors] +# Specify the initial color of the lock screen. +init_color = 0x000000 +# Specify the color of the lock screen after input is received. +input_color = 0x005577 +# Specify the color of the lock screen on authentication failure. +fail_color = 0xcc3333