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 */
|
|
|
|
static const char * message = "This device is locked\neven if you manage to unlock it\nyou wont know how to use it";
|
|
|
|
|
|
|
|
/* text color */
|
|
|
|
static const char * text_color = "#d4c4a1";
|
|
|
|
|
|
|
|
/* 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";
|