mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
Updated Setting Environmental Variables (markdown)
parent
5bfcf83d0e
commit
0ea03d7f26
|
@ -12,10 +12,7 @@ Environment variables are inherited from the process that starts sway. You need
|
|||
## Login Manager
|
||||
|
||||
### PAM
|
||||
Set environment variables specific to user session in the `$HOME/.pam_environment`. That gets them set right on log in and would work for most methods of launching sway.
|
||||
Note: these variables will be set in non-sway sessions too.
|
||||
|
||||
For more info: ```man 8 pam_env```
|
||||
Setting user environment variables via PAM (`$HOME/.pam_environment`) is deprecated since PAM 1.5.0 and therefore discouraged, see https://github.com/linux-pam/linux-pam/releases/tag/v1.5.0.
|
||||
|
||||
### Set the Sway Config
|
||||
Technically, you could set them in your sway config.
|
||||
|
|
Loading…
Reference in a new issue