slock/config.h

25 lines
681 B
C
Raw Normal View History

2019-06-09 11:52:44 +00:00
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nobody";
2019-06-09 11:52:44 +00:00
static const char *colorname[NUMCOLS] = {
[INIT] = "#282A36", /* after initialization */
[INPUT] = "#BD93F9", /* during input */
2019-06-09 11:55:13 +00:00
[FAILED] = "#FF5555", /* wrong password */
2019-06-09 11:52:44 +00:00
};
/* lock screen opacity */
2019-06-09 16:24:57 +00:00
static const float alpha = 0.3;
2019-06-09 11:52:44 +00:00
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
2019-06-09 12:55:41 +00:00
/* default message */
2019-06-09 12:57:00 +00:00
static const char * message = "Enter password to unlock";
2019-06-09 12:55:41 +00:00
/* text color */
static const char * text_color = "#ffffff";
/* text size (must be a valid size) */
static const char * text_size = "fixed";