mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +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
|
## Login Manager
|
||||||
|
|
||||||
### PAM
|
### 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.
|
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.
|
||||||
Note: these variables will be set in non-sway sessions too.
|
|
||||||
|
|
||||||
For more info: ```man 8 pam_env```
|
|
||||||
|
|
||||||
### Set the Sway Config
|
### Set the Sway Config
|
||||||
Technically, you could set them in your sway config.
|
Technically, you could set them in your sway config.
|
||||||
|
|
Loading…
Reference in a new issue