diff options
| author | Lignum Crucis | 2026-03-25 15:54:42 -0300 |
|---|---|---|
| committer | Lignum Crucis | 2026-03-25 15:54:42 -0300 |
| commit | 0cfd3afae5586a6d18be92369b9cbc5c763cf48d (patch) | |
| tree | 3c99d5cc20586bac30584ef4dc0562ff82067a20 /config.h | |
| parent | f224b65c357f72def675f90e913dac09d3233d58 (diff) | |
config: added patch; gap config
i added a diff file comparing it to config.def.h, in any case it is
necessary
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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} }, |
