Fix graphical target unit names. Use BindsTo for sway unit as suggested by graphical-session.target docs for window managers

Michael Nussbaum 2019-02-12 00:42:00 -08:00
parent c5f29b45fa
commit e25a1345ce

@ -33,9 +33,9 @@ Sway 1.0 supports running as a systemd --user service itself. The unit file is s
[Unit]
Description=sway - SirCmpwn's Wayland window manager
Documentation=man:sway(5)
Before=graphical-session.service
Wants=graphical-session-pre.service
After=graphical-session-pre.service
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
[Service]
Type=simple