From e25a1345ce3752f55db2dfc222938107bfbdb49c Mon Sep 17 00:00:00 2001 From: Michael Nussbaum Date: Tue, 12 Feb 2019 00:42:00 -0800 Subject: [PATCH] Fix graphical target unit names. Use BindsTo for sway unit as suggested by graphical-session.target docs for window managers --- Systemd-integration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Systemd-integration.md b/Systemd-integration.md index aac9595..d68c3c8 100644 --- a/Systemd-integration.md +++ b/Systemd-integration.md @@ -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