aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
blob: 5302b8cd46bb5d48bcfc07a0252b992115e01cdb (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
#ifdef _laptopp
#define laptop(...)   __VA_ARGS__
#define komputer(...)
#endif

#ifdef _komputer
#define komputer(...) __VA_ARGS__
#define laptop(...)
#endif

/* user and group to drop privileges to */
static const char *user  = "nobody";
komputer(
static const char *group = "nobody";
)
laptop(
static const char *group = "nogroup";
)

static const char *colorname[NUMCOLS] = {
	[INIT] =   "black",     /* after initialization */
	[INPUT] =  "#005577",   /* during input */
	[FAILED] = "#CC3333",   /* wrong password */
};

/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;

/* default message */
static const char * message = "Suckless: Software that sucks less.";

/* text color */
static const char * text_color = "#ffffff";

/* text size (must be a valid size) */
// static const char * font_name = "-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1";
// static const char * font_name = "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1";
static const char * font_name = "6x13";
// static const char * font_name = "cursor";
// static const char * font_name = "fixed";
// static const char * font_name = "-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1";

/*
 * slock -f :
 *
 * -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
 * -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
 * 6x13
 * cursor
 * fixed
 * -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
*/