mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Updated Systemd integration (markdown)
parent
34b01f25e0
commit
3210c981a4
|
@ -17,6 +17,7 @@ After=graphical-session-pre.target
|
|||
|
||||
The next two lines should go to /etc/sway/config.d/10-systemd which is included in the default config or just pasted at the end of the users config itself. The idea is to import the sway environment variables into the systemd --user manager, and then start the `sway-session` user target:
|
||||
```
|
||||
# /etc/sway/config.d/10-systemd
|
||||
exec systemctl --user import-environment
|
||||
exec systemctl --user start sway-session.target
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue