From: Daniel Liu Date: Wed, 9 Feb 2022 04:21:28 +0000 (-0500) Subject: gappx from xresources X-Git-Url: https://git.danieliu.xyz/?p=dwm.git;a=commitdiff_plain;h=dd3c00522dcc84d2111d089bc75300bb645d976c gappx from xresources --- diff --git a/config.def.h b/config.def.h index a906e57..49dc7bd 100644 --- a/config.def.h +++ b/config.def.h @@ -2,7 +2,7 @@ /* appearance */ static unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* gaps between windows */ +static unsigned int gappx = 5; /* gaps between windows */ static unsigned int snap = 32; /* snap pixel */ static const int swallowfloating = 1; /* 1 means swallow floating windows by default */ static int showbar = 1; /* 0 means no bar */ @@ -83,6 +83,7 @@ ResourcePref resources[] = { { "nmaster", INTEGER, &nmaster }, { "resizehints", INTEGER, &resizehints }, { "mfact", FLOAT, &mfact }, + { "gappx", INTEGER, &gappx }, }; static Key keys[] = {