From 1ba93142d274f83b57e8c3f2bb474584f96e259f Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Thu, 17 Aug 2023 03:47:47 +0300 Subject: Useless-Gaps is just plain better. Changes to be committed: modified: config.def.h modified: config.def.h.orig modified: dwm.c modified: dwm.c.orig deleted: patches/dwm-fullgaps-6.4.diff new file: patches/dwm-uselessgap-20211119-58414bee958f2.diff deleted: patches_new/dwm-toggleborder-6.3.diff --- config.def.h.orig | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'config.def.h.orig') diff --git a/config.def.h.orig b/config.def.h.orig index 3d8ca89..b13e2e6 100644 --- a/config.def.h.orig +++ b/config.def.h.orig @@ -2,7 +2,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* gaps between windows */ +static const unsigned int gappx = 6; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -35,7 +35,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ -static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ static const Layout layouts[] = { @@ -90,9 +90,6 @@ 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 = -1 } }, - { MODKEY, XK_equal, setgaps, {.i = +1 } }, - { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, { MODKEY, XK_Right, viewnext, {0} }, { MODKEY, XK_Left, viewprev, {0} }, { MODKEY|ShiftMask, XK_Right, tagtonext, {0} }, -- cgit v1.2.3