diff options
Diffstat (limited to 'config.h')
| -rwxr-xr-x[-rw-r--r--] | config.h | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -3,6 +3,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 const 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 */ @@ -82,6 +87,14 @@ static Key keys[] = { { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, + { MODKEY, XK_minus, incrgaps, {.i = +1 } }, + { MODKEY, XK_equal, incrgaps, {.i = -1 } }, + { MODKEY|ShiftMask, XK_minus, incrogaps, {.i = +1 } }, + { MODKEY|ShiftMask, XK_equal, incrogaps, {.i = -1 } }, + { MODKEY|ControlMask, XK_minus, incrigaps, {.i = +1 } }, + { MODKEY|ControlMask, XK_equal, incrigaps, {.i = -1 } }, + { MODKEY, XK_0, togglegaps, {0} }, + { MODKEY|ShiftMask, XK_0, defaultgaps, {0} }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, @@ -91,13 +104,13 @@ static Key keys[] = { { MODKEY, XK_r, setlayout, {.v = &layouts[3]} }, { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, + /* { MODKEY, XK_0, view, {.ui = ~0 } }, */ + /* { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, */ { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_b, spawn, SHCMD("/home/cafebabe/Software/firefox/firefox") }, + { MODKEY, XK_b, spawn, SHCMD("firefox") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) |
