2022-12-20 00:15:21 +00:00
|
|
|
/* user and group to drop privileges to */
|
|
|
|
static const char *user = "drk";
|
|
|
|
static const char *group = "drk";
|
|
|
|
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
|
|
[INIT] = "#1d2021", /* after initialization */
|
|
|
|
[INPUT] = "#076678", /* during input */
|
|
|
|
[FAILED] = "#cc241d", /* wrong password */
|
|
|
|
[PAM] = "#32302f", /* waiting for PAM */
|
|
|
|
};
|
|
|
|
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
|
|
static const int failonclear = 1;
|
|
|
|
|
|
|
|
/* default message */
|
2023-05-26 06:32:03 +00:00
|
|
|
static const char * message = "";
|
2022-12-20 00:15:21 +00:00
|
|
|
|
|
|
|
/* text color */
|
2023-05-26 06:32:03 +00:00
|
|
|
static const char * text_color = "#1d2021";
|
2022-12-20 00:15:21 +00:00
|
|
|
|
|
|
|
/* text size (must be a valid size) */
|
|
|
|
static const char * font_name = "mtx";
|
|
|
|
|
|
|
|
/* Background image path, should be available to the user above */
|
2023-02-04 04:44:45 +00:00
|
|
|
static const char* background_image = ".config/suckless/slock/lockscreen.jpg";
|
2022-12-20 00:15:21 +00:00
|
|
|
|
|
|
|
/* PAM service that's used for authentication */
|
|
|
|
static const char* pam_service = "system-local-login";
|