blob: 6c2279652f147bc5086990a6ba2ee8c8b189ec44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/* user and group to drop privileges to */
static const char *user = "master";
static const char *group = "wheel";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#7D4B23", /* during input */
[FAILED] = "#B7416E", /* wrong password */
[BLOCKS] = "#f2f1f0", /* key feedback block */
[PAM] = "#19B596", /* waiting for PAM */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
/* PAM service that's used for authentication */
static const char* pam_service = "login";
// ### Blocks bar ###
static short int blocks_enabled = 1; // 0 = don't show blocks
static const int blocks_width = 0; // 0 = full width
static const int blocks_height = 16;
// position
static const int blocks_x = 0;
static const int blocks_y = 0;
// Number of blocks
static const int blocks_count = 10;
// ### \Blocks bar ###
/* time in seconds to cancel lock with mouse movement */
static const int timetocancel = 4;
/* time in seconds before the monitor shuts down */
static const int monitortime = 5;
|