summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index d62b131..0619a9e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,7 +1,6 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details. */
2 2
3/* appearance */ 3/* appearance */
4#define BORDERPX 1
5#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" 4#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"
6#define NORMBORDERCOLOR "#cccccc" 5#define NORMBORDERCOLOR "#cccccc"
7#define NORMBGCOLOR "#cccccc" 6#define NORMBGCOLOR "#cccccc"
@@ -9,7 +8,10 @@
9#define SELBORDERCOLOR "#0066ff" 8#define SELBORDERCOLOR "#0066ff"
10#define SELBGCOLOR "#0066ff" 9#define SELBGCOLOR "#0066ff"
11#define SELFGCOLOR "#ffffff" 10#define SELFGCOLOR "#ffffff"
12#define SNAP 32 /* snap pixel */ 11unsigned int borderpx = 1; /* border pixel of windows */
12unsigned int snap = 32; /* snap pixel */
13Bool showbar = True; /* False means no bar */
14Bool topbar = True; /* False means bottom bar */
13 15
14/* tagging */ 16/* tagging */
15const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 17const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -20,9 +22,11 @@ Rule rules[] = {
20}; 22};
21 23
22/* layout(s) */ 24/* layout(s) */
23#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ 25double mfact = 0.55;
24#define MFACT 0.55 /* master factor [0.1 .. 0.9] */ 26Bool resizehints = True; /* False means respect size hints in tiled resizals */
27
25#include "tile.c" 28#include "tile.c"
29
26Layout layouts[] = { 30Layout layouts[] = {
27 /* symbol arrange geom */ 31 /* symbol arrange geom */
28 { "[]=", tile, updatetilegeom }, /* first entry is default */ 32 { "[]=", tile, updatetilegeom }, /* first entry is default */
@@ -35,6 +39,7 @@ Key keys[] = {
35 /* modifier key function argument */ 39 /* modifier key function argument */
36 { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, 40 { MODKEY, XK_p, spawn, "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
37 { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, 41 { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" },
42 { MODKEY, XK_b, togglebar, NULL },
38 { MODKEY, XK_j, focusnext, NULL }, 43 { MODKEY, XK_j, focusnext, NULL },
39 { MODKEY, XK_k, focusprev, NULL }, 44 { MODKEY, XK_k, focusprev, NULL },
40 { MODKEY, XK_h, setmfact, "-0.05" }, 45 { MODKEY, XK_h, setmfact, "-0.05" },