From e640538556092fd7f660b1dd49eec2c91b2d4268 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Thu, 16 Mar 2023 12:00:35 +0100 Subject: Patch: fullgaps-toggle-20200830 --- config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config.h') 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) -- cgit v1.2.3