This repository was archived by the owner on Jan 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.h
More file actions
40 lines (31 loc) · 1.2 KB
/
config.h
File metadata and controls
40 lines (31 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nobody";
/* number of colours */
static const char *colorname[NUMCOLS] = {
[INIT] = "#000000", /* after initialization */
[INPUT] = "#282c34", /* during input */
[FAILED] = "#be5046", /* wrong password */
[CAPS] = "#f4ff44", /* caps input */
[TEXT] = "#FFFFFF", /* text colour */
};
/* lock screen opacity */
static const float alpha = 0.44;
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
/* default message */
static const char * message = "Love heals everything.";
/* text size (must be a valid size) */
static const char * font_name = "Noto Sans CHK JP:style=Regular";
/* time in seconds to cancel lock with mouse movement */
static const int timetocancel = 4;
/* time in seconds before the monitor shuts down */
static const int monitortime = 30;
/* Xresources preferences to load at startup */
ResourcePref resources[] = {
{ "init", STRING, &colorname[INIT] },
{ "input", STRING, &colorname[INPUT] },
{ "failed", STRING, &colorname[FAILED] },
{ "caps", STRING, &colorname[CAPS] },
{ "text", STRING, &colorname[TEXT] },
};