blob: d6f0cc3432d5536624a1fe81b1c9548072d172cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* 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] = "#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;
|