From 154150612d383f90b1e3a92a16006d06aaf2fc36 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 29 Sep 2020 13:17:04 +0200 Subject: [PATCH] Fix Microsoft Teams no_focus --- configurations/sway.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configurations/sway.nix b/configurations/sway.nix index a8e34e7b..a630a522 100644 --- a/configurations/sway.nix +++ b/configurations/sway.nix @@ -75,7 +75,6 @@ in ]; window.commands = [ { command = "floating enable"; criteria = { app_id = "launcher"; }; } - { command = "no_focus"; criteria = { title = "Microsoft Teams Notification"; }; } ]; input = { "type:keyboard" = { xkb_layout = "us"; xkb_variant = "altgr-intl"; xkb_numlock = "enabled"; }; @@ -125,6 +124,8 @@ in exec ${pkgs.teams}/bin/teams workspace 2 + no_focus [title="Microsoft Teams Notification"] + default_border pixel ''; extraSessionCommands = ''