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] [Unit]
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors. Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki/ Documentation=https://github.com/Alexays/Waybar/wiki/
PartOf=wayland-session.target PartOf=graphical-session.target
After=wayland-session.target After=graphical-session.target
[Service] [Service]
Type=dbus
BusName=fr.arouillard.waybar
ExecStart=@prefix@/bin/waybar ExecStart=@prefix@/bin/waybar
[Install] [Install]
WantedBy=wayland-session.target WantedBy=graphical-session.target