swallow patch

This commit is contained in:
Sravan Balaji
2020-11-24 09:58:20 -05:00
parent 0b87eae829
commit 904554033c
5 changed files with 650 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ static const unsigned int gappiv = 20; /* vert inner gap between window
static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
static const int noborder = 0; /* 1 means no border when there is only one window */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static 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 */
@@ -63,10 +64,12 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask iscentered isfloating monitor */
{ "origin", NULL, NULL, 0, 1, 1, -1 },
// { "Gimp", NULL, NULL, 0, 0, 1, -1 },
// { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 },
/* class instance title tags mask isfloating isterminal noswallow monitor */
{ "origin", NULL, NULL, 0, 1, 0, 0, -1 },
{ "alacritty", NULL, NULL, 0, 0, 1, 0, -1 },
// { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
// { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
};
/* layout(s) */