blob: 2c1bee0c470d7320c8fe8acb690e09fa08c69fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "wheel";
static const char *colorname[NUMCOLS] = {
[INIT] = "grey", /* 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 to cancel lock with mouse movement in seconds */
static const int timetocancel = 3;
|