-
Some environment variables, defined in hyprland.conf like AQ_DRM_DEVICES and XDG_SESSION_DESKTOP, don't show up in printenv and echo output. For comparison, here's my hyprland.conf env variables.
Here's printenv output
e.g It's worth to mention, that:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
uhhh... odd. Environment should be passed through with |
Beta Was this translation helpful? Give feedback.
-
Reopen this one, too, for further references or if it helps to solve some issues caused by it. This isn't really a problem, though, as variables still work. |
Beta Was this translation helpful? Give feedback.
-
UPD: For uwsm users - just add |
Beta Was this translation helpful? Give feedback.
uwsm
users should use systemd environment for variables. systemd-environemnt reads all files from $HOME/.config/environment.d/ on login. e.g.Plus, it expands the variables defined previously. For example, in hyprland if I
echo $CARGO_HOME
then the output will be$RUST_HOME/cargo
while it should be/home/user/.config/rust/cargo
.