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/nheko@.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dot_config/systemd/user/nheko@.service (limited to 'dot_config/systemd/user/nheko@.service') diff --git a/dot_config/systemd/user/nheko@.service b/dot_config/systemd/user/nheko@.service new file mode 100644 index 0000000..656f333 --- /dev/null +++ b/dot_config/systemd/user/nheko@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Nheko Matrix client (%i profile) +PartOf=graphical-session.target +After=graphical-session.target waybar.service +ConditionEnvironment=DISPLAY + +[Service] +Type=simple +ExecStart=/usr/bin/flatpak run --die-with-parent im.nheko.Nheko --profile %i +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=sway-session.target -- cgit v1.3.1