From ef1609b15ccff722b74138b14afca4d243cf2960 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Mon, 27 Jun 2022 15:29:39 -0400 Subject: [PATCH] Fix teams stupidity by making two swallows Teams sucks. When it starts, it throws up a load window that has the same class as the main window. So the load screen was getting swallowed, and the main window ended up on whatever workspace was active. Creating two identical windows allows the first one to swallow the load screen, which then disappears when it dies, and the second one swallows the main window, which is the desired result. --- layout/w2.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/layout/w2.json b/layout/w2.json index fd2d5ee..c7b7fe2 100644 --- a/layout/w2.json +++ b/layout/w2.json @@ -37,10 +37,31 @@ "y": 18 }, "marks": [], + "name": "Microsoft Teams - $hit$how", "percent": 0.25, "swallows": [ { - "class": "^.*Microsoft.*Teams.*-.*Preview.*$" + "class": "^Microsoft\\ Teams\\ \\-\\ Preview$" + } + ], + "type": "con" + }, + { + "border": "none", + "current_border_width": 2, + "floating": "auto_off", + "geometry": { + "height": 1060, + "width": 1916, + "x": 2, + "y": 18 + }, + "marks": [], + "name": "Microsoft Teams - $hit$how", + "percent": 0.25, + "swallows": [ + { + "class": "^Microsoft\\ Teams\\ \\-\\ Preview$" } ], "type": "con"