diff options
author | Marvin Borner | 2020-06-11 14:53:23 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-11 14:53:23 +0200 |
commit | cfc61f4fa5a5b2236439ec1ebe416f23e31d8092 (patch) | |
tree | 96f4fd5f4d57e6835dd6f105caca30c65d7160e5 /.repos/sent/config.def.h | |
parent | d05b17617eb83377f980c24f29079229697504cc (diff) |
Soo many features added
weeee so much efficiencyyyy
Diffstat (limited to '.repos/sent/config.def.h')
-rw-r--r-- | .repos/sent/config.def.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/.repos/sent/config.def.h b/.repos/sent/config.def.h new file mode 100644 index 0000000..60eb376 --- /dev/null +++ b/.repos/sent/config.def.h @@ -0,0 +1,56 @@ +/* See LICENSE file for copyright and license details. */ + +static char *fontfallbacks[] = { + "dejavu sans", + "roboto", + "ubuntu", +}; +#define NUMFONTSCALES 42 +#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */ + +static const char *colors[] = { + "#000000", /* foreground color */ + "#FFFFFF", /* background color */ +}; + +static const float linespacing = 1.4; + +/* how much screen estate is to be used at max for the content */ +static const float usablewidth = 0.75; +static const float usableheight = 0.75; + +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_Escape, quit, {0} }, + { 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" }, +}; |