diff options
Diffstat (limited to 'slock/config.h')
-rw-r--r-- | slock/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/slock/config.h b/slock/config.h new file mode 100644 index 0000000..6f12b0d --- /dev/null +++ b/slock/config.h | |||
@@ -0,0 +1,24 @@ | |||
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 *colorname[NUMCOLS] = { | ||
6 | [INIT] = "black", /* after initialization */ | ||
7 | [INPUT] = "black", /* during input */ | ||
8 | [FAILED] = "#CC3333", /* wrong password */ | ||
9 | }; | ||
10 | |||
11 | /* treat a cleared input like a wrong password (color) */ | ||
12 | static const int failonclear = 1; | ||
13 | |||
14 | /* default message */ | ||
15 | static const char * message = "Locked"; | ||
16 | |||
17 | /* text color */ | ||
18 | static const char * text_color = "#a8fffe"; | ||
19 | |||
20 | /* text size (must be a valid size) */ | ||
21 | static const char * font_name = "fixed"; | ||
22 | |||
23 | /* time in seconds before the monitor shuts down */ | ||
24 | static const int monitortime = 5; | ||