summaryrefslogtreecommitdiff
path: root/slock/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'slock/config.h')
-rw-r--r--slock/config.h24
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 */
2static const char *user = "nobody";
3static const char *group = "nogroup";
4
5static 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) */
12static const int failonclear = 1;
13
14/* default message */
15static const char * message = "Locked";
16
17/* text color */
18static const char * text_color = "#a8fffe";
19
20/* text size (must be a valid size) */
21static const char * font_name = "fixed";
22
23/* time in seconds before the monitor shuts down */
24static const int monitortime = 5;