From 0b92f0fe457fb541642192a02c117474e9771578 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 25 Jun 2020 14:39:59 +0200 Subject: Added slock color, merged master --- slock/config.def.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 slock/config.def.h (limited to 'slock') diff --git a/slock/config.def.h b/slock/config.def.h new file mode 100644 index 0000000..a21b349 --- /dev/null +++ b/slock/config.def.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "charles"; +static const char *group = "wheel"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "#003355", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; -- cgit