Added center patch, along with own modifications.

Tiled layout now horizontally centers windows with iscentered rule, if
it is the only window.
This commit is contained in:
sheldonmlee
2021-10-22 03:59:38 +08:00
parent 396367b271
commit 483b8be753
3 changed files with 41 additions and 13 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ static const Rule rules[] = {
* 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 },
/* class instance title tags mask iscentered isfloating monitor */
{ "Gimp", NULL, NULL, 0, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 },
};
/* layout(s) */