From 563f062c439396cf25f0d0f0c27cea6af8571306 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Sun, 30 Jun 2024 07:12:18 -0400 Subject: kj-gitbot: slock/ --- slock/config.def.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 slock/config.def.h (limited to 'slock/config.def.h') diff --git a/slock/config.def.h b/slock/config.def.h new file mode 100644 index 0000000..17a9fe6 --- /dev/null +++ b/slock/config.def.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "nobody"; +static const char *group = "nogroup"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "#303030", /* after initialization */ + [INPUT] = "#11427E", /* during input */ + [FAILED] = "#7d4c10", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; -- cgit v1.2.3