From 87d2d299323eda454642617c71f4bd1517c5b5a0 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Aug 2022 14:24:58 +0200 Subject: gaps update --- config.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index d2d0899..a6c11c3 100644 --- a/config.h +++ b/config.h @@ -1,7 +1,8 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 2; /* border pixel of windows */ +static const unsigned int borderpx = 3; /* border pixel of windows */ +static const unsigned int gappx = 0; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 0; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -185,6 +186,11 @@ static Key keys[] = { { MODKEY|ControlMask, XK_bracketright, focusmon, {.i = -1 } }, { MODKEY|ControlMask, XK_h, focusmon, {.i = +1 } }, { MODKEY|ControlMask, XK_l, focusmon, {.i = -1 } }, + { MODKEY, XK_w, movemouse, {0} }, + { MODKEY|ShiftMask, XK_w, resizemouse, {0} }, + { 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) @@ -196,7 +202,7 @@ static Key keys[] = { TAGKEYS( XK_9, 8) { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ShiftMask, XK_e, quit, {0} }, }; /* button definitions */ -- cgit v1.2.3