From 370139e565363e2929a3b98dbf43a8bca338114c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:26 +0100 Subject: feat(sway): autostart Signal via user systemd unit Sway does not honour XDG $HOME/.config/autostart/, so the in-app 'start at login' toggle is a no-op. Use a user unit wired into sway-session.target with --start-in-tray, matching the existing waybar/swayidle/cliphist/etc. pattern. --- dot_config/systemd/user/signal.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dot_config/systemd/user/signal.service (limited to 'dot_config/systemd/user/signal.service') diff --git a/dot_config/systemd/user/signal.service b/dot_config/systemd/user/signal.service new file mode 100644 index 0000000..80d25f2 --- /dev/null +++ b/dot_config/systemd/user/signal.service @@ -0,0 +1,14 @@ +[Unit] +Description=Signal Desktop (flatpak) +PartOf=graphical-session.target +After=graphical-session.target +ConditionEnvironment=WAYLAND_DISPLAY + +[Service] +Type=simple +ExecStart=/usr/bin/flatpak run org.signal.Signal --start-in-tray +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=sway-session.target -- cgit v1.3.1