summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 82d9836..6489de3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,6 +16,7 @@ static const float rootcolor[] = COLOR(0x222222ff);
static const float bordercolor[] = COLOR(0x444444ff);
static const float focuscolor[] = COLOR(0xae81ffff);
static const float urgentcolor[] = COLOR(0xff0000ff);
+static const unsigned int gappx = 5; /* default gap size */
/* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */
static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */
@@ -202,6 +203,12 @@ static const Key keys[] = {
{ WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT, XKB_KEY_space, spawn, SHCMD("makoctl dismiss --all")},
{ WLR_MODIFIER_CTRL|MODKEY, XKB_KEY_space, spawn, SHCMD("makoctl restore")},
+ /* Adjust gaps */
+ { MODKEY, XKB_KEY_minus, setgaps, {.i = -1} },
+ { MODKEY, XKB_KEY_equal, setgaps, {.i = +1} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_plus, setgaps, {.i = 0} },
+ { MODKEY, XKB_KEY_a, togglegaps, {0} },
+
TAGKEYS( XKB_KEY_1, XKB_KEY_exclam, 0),
TAGKEYS( XKB_KEY_2, XKB_KEY_at, 1),
TAGKEYS( XKB_KEY_3, XKB_KEY_numbersign, 2),