From c6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 24 Nov 2021 21:00:29 +0100 Subject: waylock: Add configuration .config/waylock/waylock.toml: Add simple first configuration to echo warning and set colors. --- .config/waylock/waylock.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .config/waylock/waylock.toml diff --git a/.config/waylock/waylock.toml b/.config/waylock/waylock.toml new file mode 100644 index 0000000..1111574 --- /dev/null +++ b/.config/waylock/waylock.toml @@ -0,0 +1,17 @@ +# waylock.toml + +# Note: all fields are optional. If omitted a default value will be used. + +# If set to true, never revert the color after input or failure. +one_way = false + +# Command to run on authentication failure. Executed with `sh -c `. +fail_command = 'echo "$(date)" [waylock] Failed unlock attempt!' + +[colors] +# Specify the initial color of the lock screen. +init_color = 0x002b36 +# Specify the color of the lock screen after input is received. +input_color = 0x586e75 +# Specify the color of the lock screen on authentication failure. +fail_color = 0xdc322f -- cgit v1.2.3-70-g09d2