aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-03-16 12:00:35 +0100
committerdavidpkj <davidpenkow1@gmail.com>2023-03-16 12:00:35 +0100
commite640538556092fd7f660b1dd49eec2c91b2d4268 (patch)
treefd6e69c1b708906272ad4accbd137ace11d77d01 /config.h
parenta192172275f052a53d049fe2e224f4c3c97ef55c (diff)
Patch: fullgaps-toggle-20200830
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/config.h b/config.h
index 76e15fe..47e4c87 100644
--- a/config.h
+++ b/config.h
@@ -1,13 +1,14 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
+static const Gap default_gap = {.isgap = 1, .realgap = 10, .gappx = 10};
static unsigned int borderpx = 1; /* border pixel of windows */
static unsigned int snap = 32; /* snap pixel */
static int swallowfloating = 0; /* 1 means swallow floating windows by default */
static int showbar = 1; /* 0 means no bar */
static int topbar = 1; /* 0 means bottom bar */
-static const int horizpadbar = 2; /* horizontal padding for statusbar */
-static const int vertpadbar = 0; /* vertical padding for statusbar */
+static const int horizpadbar = 2; /* horizontal padding for statusbar */
+static const int vertpadbar = 0; /* vertical padding for statusbar */
/* Display modes of the tab bar: never shown, always shown, shown only in */
/* monocle mode in presence of several windows. */
@@ -130,6 +131,10 @@ 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 = -5 } },
+ { MODKEY, XK_equal, setgaps, {.i = +5 } },
+ { MODKEY|ShiftMask, XK_minus, setgaps, {.i = GAP_RESET } },
+ { MODKEY|ShiftMask, XK_equal, setgaps, {.i = GAP_TOGGLE} },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)