~kris/suckless

slock

ref: ae96836f90c3652fd0907e0632ddd4591d5716fa slock/config.def.h -rw-r--r-- 399 bytes
ae96836f — Markus Teich clarify colors in config.def.h 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;