Updated Systemd integration (markdown)

Access 2022-02-09 23:14:07 +08:00
parent 0f44fd8692
commit 35c30b9be4

@ -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