From 80c510b37630deb63b2a8b7f4aa10f21cf506693 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 11 Feb 2025 13:36:15 +0000 Subject: [PATCH] Add teams-for-linux back Firefox support for teams calls is still lacking --- system/desktop.nix | 12 ++++++++++++ system/home/hyprland.nix | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/system/desktop.nix b/system/desktop.nix index 6eb17504..22574f6b 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -44,6 +44,7 @@ webcord signal-desktop whatsapp-for-linux + teams-for-linux nomachine-client ]; }; @@ -244,6 +245,17 @@ prefer-dark-theme=${if variant == "dark" then "true" else "false"} ''; }; + "teams-for-linux/config.json" = { + force = true; + text = builtins.toJSON { + awayOnSystemIdle = true; + closeAppOnCross = false; + followSystemTheme = true; + notificationMethod = "electron"; + optInTeamsV2 = true; + spellCheckerLanguages = [ "en_GB" ]; + }; + }; # Autostart some programs "autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; diff --git a/system/home/hyprland.nix b/system/home/hyprland.nix index 6f64af8e..6cb11373 100644 --- a/system/home/hyprland.nix +++ b/system/home/hyprland.nix @@ -260,7 +260,7 @@ # Workspace rules "workspace 2, (firefox)" # Browser - "workspace 3, (WebCord|signal|whatsapp-for-linux|twinkle)" # Messaging + "workspace 3, (WebCord|signal|whatsapp-for-linux|teams-for-linux|twinkle)" # Messaging "workspace 4, (org.musicbrainz.Picard|libreoffice|soffice|Zotero)(.*)" # Files "workspace 5, (Nxplayer.bin)" # Remote Desktop "workspace 6, (PrusaSlicer)" # 3D Printing