diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -5,6 +5,11 @@ /* appearance */ static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int gappih = 10; /* horiz inner gap between windows */ +static const unsigned int gappiv = 10; /* vert inner gap between windows */ +static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ +static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */ +static int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -36,6 +41,9 @@ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +//#define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */ +#include "vanitygaps.c" + static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, /* first entry is default */ @@ -80,6 +88,12 @@ static Key keys[] = { { MODKEY|CTRLKEY, XK_Right, moveresize, {.v = "0x 0y 25w 0h" } }, { MODKEY|CTRLKEY, XK_Left, moveresize, {.v = "0x 0y -25w 0h" } }, + /* Managing Gaps */ + { MODKEY|ALTKEY, XK_period, incrgaps, {.i = +1 } }, + { MODKEY|ALTKEY, XK_comma, incrgaps, {.i = -1 } }, + { MODKEY|ALTKEY, XK_t, togglegaps, {0} }, + { MODKEY|ALTKEY, XK_d, defaultgaps, {0} }, + /* Managing Tags and Status Bar */ { MODKEY, XK_h, viewtoleft, {0} }, { MODKEY, XK_l, viewtoright, {0} }, |