slock
simple X display locker utility
git clone https://9o.is/git/slock.git
config.h
(574B)
1 /* user and group to drop privileges to */
2 static const char *user = "nobody";
3 static const char *group = "nobody";
4
5 static const char *bgcolor = "#131314";
6 static const char *colorname[NUMCOLS] = {
7 [INIT] = "#E3E3E3", /* after initialization */
8 [INPUT] = "#89B4FA", /* during input */
9 [FAILED] = "#F38BA8", /* 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 = "Fira Mono-18";
16 static const char *message = "Enter Password";
17 static const char *timer_message = "LOCKED!";