summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-08-27 22:24:32 +0200
committeryuzu-eva <stevenhu@web.de>2022-08-27 22:24:32 +0200
commit2c3fbedc27ecc193cf72effdab2fc5a1c52d9e4c (patch)
tree9bd98eac967abb844909d2072b975e6a1e46050c /config.h
parent0dc2457a17fc7b958daf4bc21ee2b65c31428635 (diff)
added vanitygaps patch
Diffstat (limited to 'config.h')
-rwxr-xr-x[-rw-r--r--]config.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/config.h b/config.h
index 38b16fd..9283c62 100644..100755
--- a/config.h
+++ b/config.h
@@ -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)