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] [Unit]
Description=sway - SirCmpwn's Wayland window manager Description=sway - SirCmpwn's Wayland window manager
Documentation=man:sway(5) Documentation=man:sway(5)
Before=graphical-session.service BindsTo=graphical-session.target
Wants=graphical-session-pre.service Wants=graphical-session-pre.target
After=graphical-session-pre.service After=graphical-session-pre.target
[Service] [Service]
Type=simple Type=simple