From 6efbd1cd57f72f80808c7992ea03642f65c7aa2a Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:41 +0100 Subject: feat(teams): distinct tray icons for Sii (blue S) and XSight (orange X) Adds two generated 256x256 hicolor PNG icons under ~/.local/share/icons/hicolor/256x256/apps/ and wires them up: * Icon=teams-{sii,xsight} -> launcher / waybar / sway use them * --appIcon= -> electron tray icon picks them up (teams-for-linux respects this flag) The flatpak override script gains a --filesystem=xdg-data/icons:ro binding for com.github.IsmaelMartinez.teams_for_linux so the absolute icon path is reachable from inside the sandbox. --- dot_local/share/applications/teams-sii.desktop.tmpl | 4 ++-- dot_local/share/applications/teams-xsight.desktop.tmpl | 4 ++-- .../share/icons/hicolor/256x256/apps/teams-sii.png | Bin 0 -> 10477 bytes .../share/icons/hicolor/256x256/apps/teams-xsight.png | Bin 0 -> 10131 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 dot_local/share/icons/hicolor/256x256/apps/teams-sii.png create mode 100644 dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png (limited to 'dot_local') diff --git a/dot_local/share/applications/teams-sii.desktop.tmpl b/dot_local/share/applications/teams-sii.desktop.tmpl index acb094a..a6e014a 100644 --- a/dot_local/share/applications/teams-sii.desktop.tmpl +++ b/dot_local/share/applications/teams-sii.desktop.tmpl @@ -1,8 +1,8 @@ [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 +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 --appIcon={{ .chezmoi.homeDir }}/.local/share/icons/hicolor/256x256/apps/teams-sii.png "--appTitle=Teams — Sii" %U +Icon=teams-sii Terminal=false Type=Application Categories=Network;InstantMessaging; diff --git a/dot_local/share/applications/teams-xsight.desktop.tmpl b/dot_local/share/applications/teams-xsight.desktop.tmpl index 3eb97dc..0b8a5ed 100644 --- a/dot_local/share/applications/teams-xsight.desktop.tmpl +++ b/dot_local/share/applications/teams-xsight.desktop.tmpl @@ -1,8 +1,8 @@ [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 +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 --appIcon={{ .chezmoi.homeDir }}/.local/share/icons/hicolor/256x256/apps/teams-xsight.png "--appTitle=Teams — XSight" %U +Icon=teams-xsight Terminal=false Type=Application Categories=Network;InstantMessaging; diff --git a/dot_local/share/icons/hicolor/256x256/apps/teams-sii.png b/dot_local/share/icons/hicolor/256x256/apps/teams-sii.png new file mode 100644 index 0000000..50c454c Binary files /dev/null and b/dot_local/share/icons/hicolor/256x256/apps/teams-sii.png differ diff --git a/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png b/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png new file mode 100644 index 0000000..c27233b Binary files /dev/null and b/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png differ -- cgit v1.3.1