Moved sway notification center to a systemd service

This commit is contained in:
2025-05-16 12:49:29 -04:00
parent e8cf18cbb2
commit 30fe9ff3f9
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=A simple notification daemon with a GTK gui for notifications and the control center.
Documentation=man:swaync(1)
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/swaync
Restart=on-failure
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target