vanitygaps: replaced smartgaps with smartgaps_fact, allowing gaps to be increased when there is only one client.

This commit is contained in:
bakkeby
2021-04-16 10:16:04 +02:00
parent 4a45f23643
commit 23c76d13b5
3 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ static const unsigned int gappih = 20; /* horiz inner gap between windo
static const unsigned int gappiv = 10; /* vert inner gap between windows */
static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
static const unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static const int smartgaps_fact = 1; /* gap factor when there is only one client; 0 = no gaps, 3 = 3x outer gaps */
#endif // VANITYGAPS_PATCH
#if AUTOSTART_PATCH
static const char autostartblocksh[] = "autostart_blocking.sh";