summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-05-30 15:46:32 +0400
committerAndrew <saintruler@gmail.com>2020-05-30 15:46:32 +0400
commitf4fac9e14bafc14c6ca3454efaf960d0c90d281c (patch)
treeced9f90ef316551461464ad3cd4b1f650ff40108 /config.def.h
parentbb0cc9240123f453118ff16d5fc900a9be0b183e (diff)
changed gaps patch ot tilegap
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/config.def.h b/config.def.h
index 17947a7..b275b14 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 = 18; /* gap pixel between windows */
static const unsigned int snap = 32; /* snap pixel */
// systray
@@ -10,13 +11,6 @@ static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
-// vanity gaps
-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 showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int focusonwheel = 0;
@@ -85,22 +79,6 @@ static Key keys[] = {
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
- { MODKEY|Mod4Mask, XK_h, incrgaps, {.i = +1 } },
- { MODKEY|Mod4Mask, XK_l, incrgaps, {.i = -1 } },
- { MODKEY|Mod4Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } },
- { MODKEY|Mod4Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } },
- { MODKEY|Mod4Mask|ControlMask, XK_h, incrigaps, {.i = +1 } },
- { MODKEY|Mod4Mask|ControlMask, XK_l, incrigaps, {.i = -1 } },
- { MODKEY|Mod4Mask, XK_0, togglegaps, {0} },
- { MODKEY|Mod4Mask|ShiftMask, XK_0, defaultgaps, {0} },
- { MODKEY, XK_y, incrihgaps, {.i = +1 } },
- { MODKEY, XK_o, incrihgaps, {.i = -1 } },
- { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } },
- { MODKEY|ControlMask, XK_o, incrivgaps, {.i = -1 } },
- { MODKEY|Mod4Mask, XK_y, incrohgaps, {.i = +1 } },
- { MODKEY|Mod4Mask, XK_o, incrohgaps, {.i = -1 } },
- { MODKEY|ShiftMask, XK_y, incrovgaps, {.i = +1 } },
- { MODKEY|ShiftMask, XK_o, incrovgaps, {.i = -1 } },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },