From a0f83c2443c43ee30f70fdfcff688879e996cc8c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 17 May 2024 16:19:19 +0100 Subject: [PATCH] Add stacking layout rules for chat apps --- programs/sway/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programs/sway/default.nix b/programs/sway/default.nix index e96794e..fa1d46e 100644 --- a/programs/sway/default.nix +++ b/programs/sway/default.nix @@ -128,6 +128,15 @@ {app_id = "Nxplayer\.bin";} {class = "Nxplayer\.bin";} ]) + ++ (map (criteria: { + inherit criteria; + command = "layout stacking"; + }) [ + {app_id = "WebCord";} + {app_id = "signal";} + {app_id = "whatsapp-for-linux";} + {app_id = "teams-for-linux";} + ]) ++ []; }; floating.border = 1;