From 35c30b9be41f122c6b8741e5c4f7698fbbc987fc Mon Sep 17 00:00:00 2001 From: Access <3237126351@qq.com> Date: Wed, 9 Feb 2022 23:14:07 +0800 Subject: [PATCH] Updated Systemd integration (markdown) --- Systemd-integration.md | 1 + 1 file changed, 1 insertion(+) 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