From 35b8d7aece3d32c755dfbea49519351d56e8ef39 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 31 Mar 2020 11:17:04 +0200 Subject: [PATCH] config.h synced to config.def.h --- config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config.h diff --git a/config.h b/config.h new file mode 100644 index 0000000..149e68f --- /dev/null +++ b/config.h @@ -0,0 +1,15 @@ +/* user and group to drop privileges to */ +static const char *user = "nobody"; +static const char *group = "nobody"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "black", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; + +/* time in seconds before the monitor shuts down */ +static const int monitortime = 3;