aboutsummaryrefslogtreecommitdiffstats
path: root/.config/waylock
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-11-24 21:00:29 +0100
committerDavid Runge <dave@sleepmap.de>2021-11-24 21:00:29 +0100
commitc6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04 (patch)
tree3a03aef0f7d3709ec8504f90e6460315a2253730 /.config/waylock
parentca99faf330f44693ca0fa97466cb2d7edc9296db (diff)
downloaddotfiles-c6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04.tar.gz
dotfiles-c6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04.tar.bz2
dotfiles-c6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04.tar.xz
dotfiles-c6e0d3ddf0bee8144d08fb79a6b1ab5a589a6a04.zip
waylock: Add configuration
.config/waylock/waylock.toml: Add simple first configuration to echo warning and set colors.
Diffstat (limited to '.config/waylock')
-rw-r--r--.config/waylock/waylock.toml17
1 files changed, 17 insertions, 0 deletions
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 <COMMAND>`.
+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