gappx from xresources master
authorDaniel Liu <mr.picklepinosaur@gmail.com>
Wed, 9 Feb 2022 04:21:28 +0000 (23:21 -0500)
committerDaniel Liu <mr.picklepinosaur@gmail.com>
Wed, 9 Feb 2022 04:21:28 +0000 (23:21 -0500)
config.def.h

index a906e57..49dc7bd 100644 (file)
@@ -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[] = {