aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--dot_local/share/applications/teams-sii.desktop.tmpl4
-rw-r--r--dot_local/share/applications/teams-xsight.desktop.tmpl4
-rw-r--r--dot_local/share/icons/hicolor/256x256/apps/teams-sii.pngbin0 -> 10477 bytes
-rw-r--r--dot_local/share/icons/hicolor/256x256/apps/teams-xsight.pngbin0 -> 10131 bytes
-rw-r--r--run_onchange_after_deploy-flatpak-overrides.sh.tmpl5
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
new file mode 100644
index 0000000..50c454c
--- /dev/null
+++ b/dot_local/share/icons/hicolor/256x256/apps/teams-sii.png
Binary files 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
--- /dev/null
+++ b/dot_local/share/icons/hicolor/256x256/apps/teams-xsight.png
Binary files differ
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