From 0cfd3afae5586a6d18be92369b9cbc5c763cf48d Mon Sep 17 00:00:00 2001 From: Lignum Crucis Date: Wed, 25 Mar 2026 15:54:42 -0300 Subject: config: added patch; gap config i added a diff file comparing it to config.def.h, in any case it is necessary --- config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 181a947..7f8c3dd 100644 --- a/config.h +++ b/config.h @@ -1,8 +1,13 @@ -/* See LICENSE file for copyright and license details. */ +// config.h /* appearance */ static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int gappih = 4; /* horiz inner gap between windows */ +static const unsigned int gappiv = 4; /* vert inner gap between windows */ +static const unsigned int gappoh = 4; /* horiz outer gap between windows and screen edge */ +static const unsigned int gappov = 4; /* vert outer gap between windows and screen edge */ +static const int smartgaps = 1; /* 1 means no outer gap when there is only one window */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; @@ -22,10 +27,6 @@ static const char *colors[][3] = { static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { - /* xprop(1): - * WM_CLASS(STRING) = instance, class - * WM_NAME(STRING) = title - */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, @@ -40,9 +41,9 @@ static const int refreshrate = 120; /* refresh rate (per second) for client mov static const Layout layouts[] = { /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - /* { "><>", NULL }, no layout function means floating behavior */ + { "[]=", tile }, { "[M]", monocle }, + /* { "><>", NULL }, no layout function means floating behavior */ }; /* key definitions */ @@ -102,7 +103,6 @@ static const Key keys[] = { }; /* button definitions */ -/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static const Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, -- cgit v1.2.3