diff --git a/Systemd-integration.md b/Systemd-integration.md index 7dbc024..4800f90 100644 --- a/Systemd-integration.md +++ b/Systemd-integration.md @@ -69,6 +69,7 @@ After=graphical-session-pre.target [Service] Type=simple EnvironmentFile=-%h/.config/sway/env +ExecStartPre=systemctl --user unset-environment WAYLAND_DISPLAY DISPLAY # This line make you can logout to dm and login into sway again ExecStart=/usr/bin/sway Restart=on-failure RestartSec=1