Updated Systemd integration (markdown)

Дамјан Георгиевски 2019-02-05 23:38:27 +01:00
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: 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 import-environment
exec systemctl --user start sway-session.target exec systemctl --user start sway-session.target
``` ```