slock
simple X display locker utility
git clone https://9o.is/git/slock.git
config.def.h
(573B)
1 /* user and group to drop privileges to */
2 static const char *user = "nobody";
3 static const char *group = "nogroup";
4
5 static const char *bgcolor = "black";
6 static const char *colorname[NUMCOLS] = {
7 [INIT] = "white", /* after initialization */
8 [INPUT] = "#005577", /* during input */
9 [FAILED] = "#CC3333", /* wrong password */
10 };
11
12 /* treat a cleared input like a wrong password (color) */
13 static const int failonclear = 1;
14
15 static const char *font = "monospace-16";
16 static const char *message = "Enter Password";
17 static const char *timer_message = "Locked:";