diff options
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index a2ac963..2237251 100644 --- a/config.def.h +++ b/config.def.h @@ -2,6 +2,8 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ +static const int startwithgaps[] = { 1 }; /* 1 means gaps are used by default, this can be customized for each tag */ +static const unsigned int gappx[] = { 8 }; /* default gap between windows in pixels, this can be customized for each tag */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -85,6 +87,10 @@ static Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, + { MODKEY, XK_minus, setgaps, {.i = -4 } }, + { MODKEY, XK_equal, setgaps, {.i = +4 } }, + { MODKEY|ShiftMask, XK_minus, setgaps, {.i = GAP_RESET } }, + { MODKEY|ShiftMask, XK_equal, setgaps, {.i = GAP_TOGGLE} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) |