aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-14 10:58:37 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-14 10:58:37 +0100
commit9f640ed5db55594f8618d8809acb42a2d0d643ba (patch)
tree3b8cf0eeb3d3dd6f621e9059cbb1563ad5ddb430
parent3fc4705b6c711871a920290feef138694e72d29a (diff)
downloaddotfiles-9f640ed5db55594f8618d8809acb42a2d0d643ba.tar.gz
dotfiles-9f640ed5db55594f8618d8809acb42a2d0d643ba.tar.bz2
dotfiles-9f640ed5db55594f8618d8809acb42a2d0d643ba.zip
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).
-rw-r--r--dot_config/systemd/user/teams-sii.service3
-rw-r--r--dot_config/systemd/user/teams-xsight.service3
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 <app-id>` 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 <app-id>` in ExecStop (it would also kill the sii one).
# KillMode=mixed sends SIGTERM to the main process only — teams-for-linux