233a1b33dff633ef1cfa6fbe0f3e2505f81e0bda
[slock.git] / config.def.h
1 /* user and group to drop privileges to */
2 static const char *user  = "nobody";
3 static const char *group = "nogroup";
4
5 static const char *colorname[NUMCOLS] = {
6         [INIT] =   "black",     /* after initialization */
7         [INPUT] =  "#005577",   /* during input */
8         [FAILED] = "#CC3333",   /* wrong password */
9 };
10
11
12 /*
13  * Xresources preferences to load at startup
14  */
15 ResourcePref resources[] = {
16                 { "color0",       STRING,  &colorname[INIT] },
17                 { "color4",       STRING,  &colorname[INPUT] },
18                 { "color1",       STRING,  &colorname[FAILED] },
19                 { "color3",       STRING,  &colorname[CAPS] },
20 };
21
22 /* treat a cleared input like a wrong password (color) */
23 static const int failonclear = 1;