From: Daniel Liu Date: Wed, 9 Feb 2022 04:21:28 +0000 (-0500) Subject: gappx from xresources X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=dwm.git 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[] = {