23 lines
766 B
C
23 lines
766 B
C
/* user and group to drop privileges to */
|
|
static const char *user = "imp";
|
|
static const char *group = "imp";
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
[INIT] = "#1d2021", /* Gruvbox dark hard background */
|
|
[INPUT] = "#83a598", /* Gruvbox blue */
|
|
[FAILED] = "#fb4934", /* Gruvbox bright red */
|
|
[PAM] = "#d3869b", /* 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";
|
|
|
|
/* Background image path, should be available to the user above */
|
|
static const char* background_image = "/usr/share/backgrounds/glados.jpg";
|
|
|
|
/* time in seconds before the monitor shuts down */
|
|
static const int monitortime = 10;
|