-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.def.h
72 lines (63 loc) · 2.93 KB
/
config.def.h
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* See LICENSE file for copyright and license details. */
/*
▄▄▄▄ ██ ▄▄
██▀▀▀ ▀▀ ██
▄█████▄ ▄████▄ ██▄████▄ ███████ ████ ▄███▄██ ██▄████▄
██▀ ▀ ██▀ ▀██ ██▀ ██ ██ ██ ██▀ ▀██ ██▀ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
▀██▄▄▄▄█ ▀██▄▄██▀ ██ ██ ██ ▄▄▄██▄▄▄ ▀██▄▄███ ██ ██ ██
▀▀▀▀▀ ▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀▀▀ ▄▀▀▀ ██ ▀▀ ▀▀ ▀▀
▀████▀▀
*/
#define MAXFONTS 10
static char *fontfallbacks[MAXFONTS] = {
"roboto",
"terminus",
"dejavu sans",
"ubuntu"
};
#define NUMFONTSCALES 40
#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */
static const char *colors[] = {
"#005577", /* foreground color */
// "#222222", /* background color */
"#ffffff",
};
static const float linespacing = 1.4;
/* height of the presentation progress bar */
static const int progressheight = 5;
/* how much screen estate is to be used at max for the content */
static const float usablewidth = 0.85;
static const float usableheight = 0.85;
static Mousekey mshortcuts[] = {
/* button function argument */
{ Button1, advance, {.i = +1} },
{ Button3, advance, {.i = -1} },
{ Button4, advance, {.i = -1} },
{ Button5, advance, {.i = +1} },
};
static Shortcut shortcuts[] = {
/* keysym function argument */
{ XK_q, quit, {0} },
{ XK_Right, advance, {.i = +1} },
{ XK_Left, advance, {.i = -1} },
{ XK_Return, advance, {.i = +1} },
{ XK_space, advance, {.i = +1} },
{ XK_BackSpace, advance, {.i = -1} },
{ XK_l, advance, {.i = +1} },
{ XK_h, advance, {.i = -1} },
{ XK_j, advance, {.i = +1} },
{ XK_k, advance, {.i = -1} },
{ XK_Down, advance, {.i = +1} },
{ XK_Up, advance, {.i = -1} },
{ XK_Next, advance, {.i = +1} },
{ XK_Prior, advance, {.i = -1} },
{ XK_n, advance, {.i = +1} },
{ XK_p, advance, {.i = -1} },
{ XK_r, reload, {0} },
};
static Filter filters[] = {
{ "\\.ff$", "cat" },
{ "\\.ff.bz2$", "bunzip2" },
{ "\\.[a-z0-9]+$", "2ff" },
};