From 2d2638b493a57b5255948d33874a874ecf83a876 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 2 Oct 2022 13:25:02 -0500 Subject: [PATCH] add waylock config, switch sway to waylock --- .config/sway/config | 4 ++-- .config/waylock/waylock.toml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .config/waylock/waylock.toml 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