summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user/nheko@.service
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:35 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:35 +0100
commit3b36a1eabcc2dea597714ee53672d1148c743664 (patch)
treee1d1dedfdd74c5c1a5fd34d8db9b359f9d234c87 /dot_config/systemd/user/nheko@.service
parent4bf8505b1e9d5351de865f3a01cd4f923bb41902 (diff)
downloaddotfiles-3b36a1eabcc2dea597714ee53672d1148c743664.tar.gz
dotfiles-3b36a1eabcc2dea597714ee53672d1148c743664.tar.bz2
dotfiles-3b36a1eabcc2dea597714ee53672d1148c743664.zip
Start chat clients with the Sway session
Diffstat (limited to 'dot_config/systemd/user/nheko@.service')
-rw-r--r--dot_config/systemd/user/nheko@.service14
1 files changed, 14 insertions, 0 deletions
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