this post was submitted on 28 Nov 2023
7 points (100.0% liked)
Arch Linux
7763 readers
4 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i3 is actually exporting the enviroment variables when I set them in its config file, however for some reason qt5ct and all the qt apps refuse to use it, running printenv confirms that it is there.
However I found the issue, it seems to be an issue with my zsh shell, because I just created ~/.zshenv and added my enviroment variables there instead of on ~/.profile and now it works like it should kek. I didn't have to do this before when using lightdm so no idea what exactly changed though.
It is likely that the qt enviroment variable needs to be exported very early and that is why doing it from i3 doesn't work but from the shell it does.