~ob/slock

ref: d5da84cf5adce2f30ed348b631861cc089f3b559 slock/config.def.h -rw-r--r-- 399 bytes
d5da84cf — Markus Teich add arg.h and util.h to Makefile 5 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;