summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-08-19 03:07:58 +0200
committeryuzu-eva <stevenhu@web.de>2022-08-19 03:07:58 +0200
commitb7ea9ca051b49b57c970cc40a8a22ee041248e9a (patch)
tree627463c402b8977c417ee3583cc65b78f4ebd806 /config.def.h
parent103fc65ce2800e146eab1f96deef051eaef8425d (diff)
added fullgaps
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 873be77..8a25a70 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,7 @@
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int gappx = 5; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
@@ -88,6 +89,9 @@ 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 = -1 } },
+ { MODKEY, XK_equal, setgaps, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)