~kris/suckless

slock

ref: 7a604ec1fae1eda36f210a28a2cf466583a9cb87 slock/config.def.h -rw-r--r-- 399 bytes
7a604ec1 — Bob Uhl Fix resize with multiple monitors and portrait mode 9 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
/* user and group to drop privileges to */
static const char *user  = "nobody";
static const char *group = "nogroup";

static const char *colorname[NUMCOLS] = {
	[INIT] =   "black",     /* after initialization */
	[INPUT] =  "#005577",   /* during input */
	[FAILED] = "#CC3333",   /* wrong password */
};

/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;