summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2014-06-23 00:39:21 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2014-06-23 00:39:21 +0200
commit8b5710ff44ebabef1acae9783da8286d5366c74c (patch)
tree4d9715195c1014d32d1cac56a17c4d0d6b8cfa7f /config.def.h
parent163cb95920aacd43775a043cf4afab490bc67774 (diff)
downloadsent-8b5710ff44ebabef1acae9783da8286d5366c74c.tar.gz
sent-8b5710ff44ebabef1acae9783da8286d5366c74c.tar.bz2
sent-8b5710ff44ebabef1acae9783da8286d5366c74c.zip
add stuff
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..ea2119f
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,28 @@
+/* See LICENSE file for copyright and license details. */
+
+static char font[] = "-*-dejavu sans condensed-bold-r-*-*-0-0-*-*-*-0-*-*";
+#define NUMFONTS 30
+#define FONTSZ(x) ((int)(100.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTS-1] */
+
+/* how much screen estate is to be used at max for the content */
+static float usablewidth = 0.75;
+static float usableheight = 0.75;
+
+static Mousekey mshortcuts[] = {
+ /* button function argument */
+ { Button1, advance, {.i = +1} },
+ { Button2, 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_BackSpace, advance, {.i = -1} },
+ { XK_Down, advance, {.i = +5} },
+ { XK_Up, advance, {.i = -5} },
+ { XK_Next, advance, {.i = +10} },
+ { XK_Prior, advance, {.i = -10} },
+};
Software created with 💖