mirror of
https://github.com/swaywm/sway.git
synced 2025-02-27 03:31:20 +00:00
Forgot to quote this
parent
d1a3ae6bb5
commit
c94e13d20c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ After=graphical-session-pre.target
|
|||
In order for the unit file to work properly, add the following lines to either `/etc/sway/config.d/10-systemd` which will include it in the default config, or add them to the end of the user's config file:
|
||||
|
||||
```
|
||||
exec systemctl --user import-environment; systemctl --user start sway-session.target
|
||||
exec "systemctl --user import-environment; systemctl --user start sway-session.target"
|
||||
```
|
||||
|
||||
This imports all of sway's environment variables into the systemd user manager, allowing its services to access these variables (for example the D-Bus session address), and then starts the sway session user target.
|
||||
|
|
Loading…
Add table
Reference in a new issue