]> git.armaanb.net Git - slock.git/blob - config.def.h
Apply dpms patch
[slock.git] / config.def.h
1 /* user and group to drop privileges to */
2 static const char *user  = "nobody";
3 static const char *group = "nobody";
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 /* treat a cleared input like a wrong password (color) */
12 static const int failonclear = 1;
13
14 /* time in seconds to cancel lock with mouse movement */
15 static const int timetocancel = 4;
16
17 /* time in seconds before the monitor shuts down */
18 static const int monitortime = timetocancel;