Run SwayOSD as a session service (#5656)

* Run SwayOSD as a session service

* Restart SwayOSD after clean exits

* We don't need the input backend (as we manage the hotkeys in Hyprland)

* Ensure we cleanup the old service starter

* Not needed

* Not needed either

* Clean up migration

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Patrick Rodrigues
2026-05-07 19:43:27 +02:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent 402da79f54
commit fa1ed01cd7
6 changed files with 33 additions and 2 deletions
@@ -0,0 +1,13 @@
[Unit]
Description=SwayOSD server
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayosd-server
Restart=always
RestartSec=2
[Install]
WantedBy=graphical-session.target