From 3b36a1eabcc2dea597714ee53672d1148c743664 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 17 Sep 2026 15:05:35 +0100 Subject: Start chat clients with the Sway session --- dot_config/systemd/user/whatsie.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dot_config/systemd/user/whatsie.service (limited to 'dot_config/systemd/user/whatsie.service') diff --git a/dot_config/systemd/user/whatsie.service b/dot_config/systemd/user/whatsie.service new file mode 100644 index 0000000..01d5b81 --- /dev/null +++ b/dot_config/systemd/user/whatsie.service @@ -0,0 +1,16 @@ +[Unit] +Description=WhatSie (flatpak) +PartOf=graphical-session.target +After=graphical-session.target +ConditionEnvironment=WAYLAND_DISPLAY + +[Service] +Type=simple +ExecStart=/usr/bin/flatpak run com.ktechpit.whatsie --minimized +ExecStop=/usr/bin/flatpak kill com.ktechpit.whatsie +Restart=on-failure +RestartSec=5s +TimeoutStopSec=10s + +[Install] +WantedBy=sway-session.target -- cgit v1.3.1