slock-noxz

[fork] simple X display locker utility
git clone https://noxz.tech/git/slock-noxz.git
Log | Files | README | LICENSE

config.def.h
1/* user and group to drop privileges to */
2static const char *user  = "nobody";
3static const char *group = "nogroup";
4
5static const char *colorname[NUMCOLS] = {
6	[BACKGROUND]    = "#000000",    /* after initialization */
7	[INIT]          = "#000000",    /* after initialization */
8	[INPUT]         = "#FFFFFF",    /* during input */
9	[FAILED]        = "#CC3333",    /* wrong password */
10};
11
12/* treat a cleared input like a wrong password (color) */
13static const int failonclear = 1;
14
15static const int logosize = 40;
16static const int logow = 12;
17static const int logoh = 12;
18
19static XRectangle rectangles[5] = {
20	/* x    y       w       h */
21	{ 4,    0,      3,      3 },
22	{ 8,    4,      3,      3 },
23	{ 0,    8,      3,      3 },
24	{ 4,    8,      3,      3 },
25	{ 8,    8,      3,      3 },
26};