25 lines
666 B
C
25 lines
666 B
C
|
/* user and group to drop privileges to */
|
||
|
static const char *user = "n0x";
|
||
|
static const char *group = "users";
|
||
|
|
||
|
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 to cancel lock with mouse movement */
|
||
|
static const int timetocancel = 4;
|
||
|
|
||
|
/*Enable blur*/
|
||
|
#define BLUR
|
||
|
/*Set blur radius*/
|
||
|
static const int blurRadius=30;
|
||
|
/*Enable Pixelation*/
|
||
|
#define PIXELATION
|
||
|
/*Set pixelation radius*/
|
||
|
static const int pixelSize=10;
|