systemd: use standard targets, update service type

This commit is contained in:
Maxim Baz 2020-08-06 23:21:53 +02:00
parent a446cd692d
commit d51adfe7bc
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -1,13 +1,11 @@
[Unit]
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki/
PartOf=wayland-session.target
After=wayland-session.target
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=dbus
BusName=fr.arouillard.waybar
ExecStart=@prefix@/bin/waybar
[Install]
WantedBy=wayland-session.target
WantedBy=graphical-session.target