summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-16 00:10:05 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-16 00:10:05 -0400
commitb5c81157067c256f16242b7488b1112e8fa13175 (patch)
tree5e1dca710f1a42f043dd38df42ff1512ec2a22de /config.def.h
parent35633d45672d14bd798c478c45d1a17064701aa9 (diff)
Apply patches
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 9855e21..d6f0cc3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,12 +1,18 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
-static const char *group = "nogroup";
+static const char *group = "nobody";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
- [INPUT] = "#005577", /* during input */
- [FAILED] = "#CC3333", /* wrong password */
+ [INPUT] = "#66aabb", /* during input */
+ [FAILED] = "#cc3333", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
+
+/* time in seconds to cancel lock with mouse movement */
+static const int timetocancel = 4;
+
+/* time in seconds before the monitor shuts down */
+static const int monitortime = 5;