From a012ceecd2c0baad0009d5541cf34d62a17afa02 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 8 Sep 2020 09:43:22 +0200 Subject: [PATCH] Start teams by default again but don't allow its notifications to steal focus --- configurations/sway.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configurations/sway.nix b/configurations/sway.nix index 4296333c..96a3c3b9 100644 --- a/configurations/sway.nix +++ b/configurations/sway.nix @@ -85,6 +85,9 @@ in # Start accentor as floating window for_window [class="accentor.Main"] floating enable + # Don't allow teams notifications to steal focus + no_focus [title="Microsoft Teams Notification"] + ### Startup programs # workspace 1 @@ -93,6 +96,8 @@ in exec ${pkgs.thunderbird}/bin/thunderbird workspace 4 exec ${pkgs.element-desktop}/bin/element-desktop + workspace 5 + exec ${pkgs.teams}/bin/teams workspace 2 ### Input configuration