mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
Updated Systemd integration (markdown)
parent
0f44fd8692
commit
35c30b9be4
|
@ -69,6 +69,7 @@ After=graphical-session-pre.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-%h/.config/sway/env
|
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
|
ExecStart=/usr/bin/sway
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
|
|
Loading…
Reference in a new issue