From 9f640ed5db55594f8618d8809acb42a2d0d643ba Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 14 May 2026 10:58:37 +0100 Subject: feat(teams): start units minimized to tray teams-for-linux --minimized=true makes the app honor systemd autostart without popping a window on every login (parity with Signal's --start-in-tray). --- dot_config/systemd/user/teams-sii.service | 3 ++- dot_config/systemd/user/teams-xsight.service | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dot_config/systemd/user/teams-sii.service b/dot_config/systemd/user/teams-sii.service index df0453e..92a2bac 100644 --- a/dot_config/systemd/user/teams-sii.service +++ b/dot_config/systemd/user/teams-sii.service @@ -12,7 +12,8 @@ ExecStart=/usr/bin/flatpak run com.github.IsmaelMartinez.teams_for_linux \ --class=teams-sii \ --user-data-dir=%h/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-sii \ --appIcon=%h/.local/share/icons/hicolor/256x256/apps/teams-sii.png \ - "--appTitle=Teams — Sii" + "--appTitle=Teams — Sii" \ + --minimized=true # Both Teams instances share the same flatpak app id, so we can't use # `flatpak kill ` in ExecStop (it would also kill the xsight one). # KillMode=mixed sends SIGTERM to the main process only — teams-for-linux diff --git a/dot_config/systemd/user/teams-xsight.service b/dot_config/systemd/user/teams-xsight.service index 478f734..a212196 100644 --- a/dot_config/systemd/user/teams-xsight.service +++ b/dot_config/systemd/user/teams-xsight.service @@ -12,7 +12,8 @@ ExecStart=/usr/bin/flatpak run com.github.IsmaelMartinez.teams_for_linux \ --class=teams-xsight \ --user-data-dir=%h/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-xsight \ --appIcon=%h/.local/share/icons/hicolor/256x256/apps/teams-xsight.png \ - "--appTitle=Teams — XSight" + "--appTitle=Teams — XSight" \ + --minimized=true # Both Teams instances share the same flatpak app id, so we can't use # `flatpak kill ` in ExecStop (it would also kill the sii one). # KillMode=mixed sends SIGTERM to the main process only — teams-for-linux -- cgit v1.3.1