aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:41 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:41 +0100
commit4aa9886065ac8d47044dafcafec17eccc005ec53 (patch)
tree8cd063bd79e5b1a0771703fcbe9eefdf04ab2fc0
parentfa081c7a7dbe0ab3660f6f6d7860b5a815370c5d (diff)
downloaddotfiles-4aa9886065ac8d47044dafcafec17eccc005ec53.tar.gz
dotfiles-4aa9886065ac8d47044dafcafec17eccc005ec53.tar.bz2
dotfiles-4aa9886065ac8d47044dafcafec17eccc005ec53.zip
feat(teams): add Sii + XSight Teams-for-Linux profile launchers
Two flatpak-tailored .desktop entries that run separate isolated instances of teams-for-linux via --class / --user-data-dir / --appTitle. Profile data lives under $HOME/.var/app/<id>/config/profile-{sii,xsight}/ which is always sandbox-writable. The upstream flatpak .desktop is shadowed by an XDG_DATA_HOME entry of the same basename with NoDisplay=Hidden=true so only the two profile launchers appear in fuzzel.
-rw-r--r--dot_local/share/applications/com.github.IsmaelMartinez.teams_for_linux.desktop5
-rw-r--r--dot_local/share/applications/teams-sii.desktop.tmpl11
-rw-r--r--dot_local/share/applications/teams-xsight.desktop.tmpl11
3 files changed, 27 insertions, 0 deletions
diff --git a/dot_local/share/applications/com.github.IsmaelMartinez.teams_for_linux.desktop b/dot_local/share/applications/com.github.IsmaelMartinez.teams_for_linux.desktop
new file mode 100644
index 0000000..1f2c6e9
--- /dev/null
+++ b/dot_local/share/applications/com.github.IsmaelMartinez.teams_for_linux.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+Name=Teams for Linux (default — hidden)
+NoDisplay=true
+Hidden=true
diff --git a/dot_local/share/applications/teams-sii.desktop.tmpl b/dot_local/share/applications/teams-sii.desktop.tmpl
new file mode 100644
index 0000000..acb094a
--- /dev/null
+++ b/dot_local/share/applications/teams-sii.desktop.tmpl
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Teams (Sii)
+Comment=Microsoft Teams — Sii account
+Exec=flatpak run com.github.IsmaelMartinez.teams_for_linux --class=teams-sii --user-data-dir={{ .chezmoi.homeDir }}/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-sii --appTitle=Teams\ —\ Sii %U
+Icon=com.github.IsmaelMartinez.teams_for_linux
+Terminal=false
+Type=Application
+Categories=Network;InstantMessaging;
+MimeType=x-scheme-handler/msteams;
+StartupWMClass=teams-sii
+StartupNotify=true
diff --git a/dot_local/share/applications/teams-xsight.desktop.tmpl b/dot_local/share/applications/teams-xsight.desktop.tmpl
new file mode 100644
index 0000000..3eb97dc
--- /dev/null
+++ b/dot_local/share/applications/teams-xsight.desktop.tmpl
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Teams (XSight)
+Comment=Microsoft Teams — XSight account
+Exec=flatpak run com.github.IsmaelMartinez.teams_for_linux --class=teams-xsight --user-data-dir={{ .chezmoi.homeDir }}/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/profile-xsight --appTitle=Teams\ —\ XSight %U
+Icon=com.github.IsmaelMartinez.teams_for_linux
+Terminal=false
+Type=Application
+Categories=Network;InstantMessaging;
+MimeType=x-scheme-handler/msteams;
+StartupWMClass=teams-xsight
+StartupNotify=true