diff options
| author | 2026-05-13 13:43:41 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:41 +0100 | |
| commit | 6efbd1cd57f72f80808c7992ea03642f65c7aa2a (patch) | |
| tree | 9074c9c55d9ab37e8ed9cd6a8d638ce4aa4573e2 | |
| parent | 4aa9886065ac8d47044dafcafec17eccc005ec53 (diff) | |
| download | dotfiles-6efbd1cd57f72f80808c7992ea03642f65c7aa2a.tar.gz dotfiles-6efbd1cd57f72f80808c7992ea03642f65c7aa2a.tar.bz2 dotfiles-6efbd1cd57f72f80808c7992ea03642f65c7aa2a.zip | |
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=<absolute path> -> 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.
| -rw-r--r-- | dot_local/share/applications/teams-sii.desktop.tmpl | 4 | ||||
| -rw-r--r-- | dot_local/share/applications/teams-xsight.desktop.tmpl | 4 | ||||
| -rw-r--r-- | dot_local/share/icons/hicolor/256x256/apps/teams-sii.png | bin | 0 -> 10477 bytes | |||
| -rw-r--r-- | dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png | bin | 0 -> 10131 bytes | |||
| -rw-r--r-- | run_onchange_after_deploy-flatpak-overrides.sh.tmpl | 5 |
5 files changed, 9 insertions, 4 deletions
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 Binary files differnew file mode 100644 index 0000000..50c454c --- /dev/null +++ b/dot_local/share/icons/hicolor/256x256/apps/teams-sii.png diff --git a/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png b/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png Binary files differnew file mode 100644 index 0000000..c27233b --- /dev/null +++ b/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png diff --git a/run_onchange_after_deploy-flatpak-overrides.sh.tmpl b/run_onchange_after_deploy-flatpak-overrides.sh.tmpl index fb73022..8e827fa 100644 --- a/run_onchange_after_deploy-flatpak-overrides.sh.tmpl +++ b/run_onchange_after_deploy-flatpak-overrides.sh.tmpl @@ -25,3 +25,8 @@ apply io.gitlab.librewolf-community --device=all # offers; the host udev rule (etc/udev/rules.d/50-zsa.rules) restricts # which hidraw nodes the user can actually open. apply io.github.ungoogled_software.ungoogled_chromium --device=all + +# Teams-for-Linux needs read access to our chezmoi-managed hicolor icon +# tree so the per-profile --appIcon= path resolves inside the sandbox +# (used by teams-sii.desktop / teams-xsight.desktop). +apply com.github.IsmaelMartinez.teams_for_linux --filesystem=xdg-data/icons:ro |
