diff options
Diffstat (limited to 'dot_config/systemd/user')
| -rw-r--r-- | dot_config/systemd/user/teams-sii.service | 28 | ||||
| -rw-r--r-- | dot_config/systemd/user/teams-xsight.service | 28 |
2 files changed, 0 insertions, 56 deletions
diff --git a/dot_config/systemd/user/teams-sii.service b/dot_config/systemd/user/teams-sii.service deleted file mode 100644 index 92a2bac..0000000 --- a/dot_config/systemd/user/teams-sii.service +++ /dev/null @@ -1,28 +0,0 @@ -[Unit] -Description=Microsoft Teams — Sii account (flatpak) -PartOf=graphical-session.target -After=graphical-session.target -ConditionEnvironment=WAYLAND_DISPLAY - -[Service] -Type=simple -# Mirrors the Exec= line in teams-sii.desktop. --user-data-dir isolates this -# instance from teams-xsight; --class is for sway window matching. -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" \ - --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 -# treats that as a real Quit (not tray-hide), and SIGKILL hits stragglers -# after the stop timeout if Electron misbehaves. -KillMode=mixed -Restart=on-failure -RestartSec=5s -TimeoutStopSec=15s - -[Install] -WantedBy=sway-session.target diff --git a/dot_config/systemd/user/teams-xsight.service b/dot_config/systemd/user/teams-xsight.service deleted file mode 100644 index a212196..0000000 --- a/dot_config/systemd/user/teams-xsight.service +++ /dev/null @@ -1,28 +0,0 @@ -[Unit] -Description=Microsoft Teams — XSight account (flatpak) -PartOf=graphical-session.target -After=graphical-session.target -ConditionEnvironment=WAYLAND_DISPLAY - -[Service] -Type=simple -# Mirrors the Exec= line in teams-xsight.desktop. --user-data-dir isolates -# this instance from teams-sii; --class is for sway window matching. -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" \ - --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 -# treats that as a real Quit (not tray-hide), and SIGKILL hits stragglers -# after the stop timeout if Electron misbehaves. -KillMode=mixed -Restart=on-failure -RestartSec=5s -TimeoutStopSec=15s - -[Install] -WantedBy=sway-session.target |
