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:
@@ -45,14 +45,15 @@ 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 << 1, 0, -1 },
|
||||
{ "firefox", NULL, NULL, 1 << 1, 0, -1 },
|
||||
{ "discord", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "Steam", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "Lutris", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "UE4Editor", NULL, NULL, 1 << 3, 0, -1 },
|
||||
/* class instance title tags mask iscentered isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 0, 1, -1 },
|
||||
{ "Alacritty", NULL, NULL, 0, 1, 0, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 1, 0, 0, -1 },
|
||||
{ "firefox", NULL, NULL, 1 << 1, 0, 0, -1 },
|
||||
{ "discord", NULL, NULL, 1 << 2, 0, 0, -1 },
|
||||
{ "Steam", NULL, NULL, 1 << 3, 0, 0, -1 },
|
||||
{ "Lutris", NULL, NULL, 1 << 3, 0, 0, -1 },
|
||||
{ "UE4Editor", NULL, NULL, 1 << 3, 0, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
||||
Reference in New Issue
Block a user