aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-27 14:23:55 +0300
committereug-vs <eugene@eug-vs.xyz>2022-01-18 23:52:14 +0300
commit3d3a54f278bf5c22b3ead64039b50d1ad187e9f6 (patch)
tree6e16634d6d150550d9b912864870b432de91acdf
parent3428deb37ae13d50ebcfc28120a29357a638bc37 (diff)
downloaddwm-3d3a54f278bf5c22b3ead64039b50d1ad187e9f6.tar.gz
feat: only use config.def.h
-rw-r--r--config.def.h (renamed from config.h)4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.def.h
index 7c1d880..c3e0dbc 100644
--- a/config.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 showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
@@ -85,6 +86,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)