summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-05-02 10:26:19 +0200
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-12-06 05:05:50 +0100
commit162a3854e741944986e26859cba2c5b461c55190 (patch)
tree5b925155ee8e9457449c96faff3a300dd549b1d4 /config.def.h
parent90f1a70e6eacc7a0bbf1510bb173e52caafe2f9a (diff)
dwm-fullgaps patch
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 7f5274b..f90570f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,6 +16,7 @@
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int gappx = 16; /* 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 */
@@ -106,6 +107,9 @@ static const 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)