mirror of
https://github.com/alrayyes/slock
synced 2023-11-13 18:16:41 +00:00
19 lines
578 B
C
19 lines
578 B
C
/* 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] = "#005577", /* during input */
|
|
[FAILED] = "#CC3333", /* wrong password */
|
|
};
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
static const int failonclear = 1;
|
|
|
|
/* time in seconds before the monitor shuts down */
|
|
static const int monitortime = 5;
|
|
|
|
/* time to cancel lock with mouse movement in seconds */
|
|
static const int timetocancel = 3;
|