aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-27 14:23:55 +0300
committereug-vs <eug-vs@keemail.me>2021-03-27 14:23:55 +0300
commit20efe5c18c543cf29e92f07976fb2de0b796bf6b (patch)
tree581a9e0810ca69008d4faa1ab52cd218551e570d
parenta4c86b77ccfd731a05335072ad94e7f5ee2a73fd (diff)
downloaddwm-20efe5c18c543cf29e92f07976fb2de0b796bf6b.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 55b0e16..0d645ea 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 */
@@ -84,6 +85,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)