You are not logged in.
I have many Environment Variables in .zprofile,the problem is that they get also applied for the compositor and then the compositor doesn't work right.
So can I set that environment variables in .zprofile get applied for everything except the compositor?
Offline
1. Don't add random environment variables to .zprofile - stuff that's only relevant in an interactive shell belongs into .zshrc
2. Just uset the variable before you run picom
FOO= BAR= picom &Or in doubt (shell agnostic)
env FOO= BAR= picom &Offline
I use kwin,not picom
Offline
I use kwin,not picom
You missed the point was the technique being used. It can be applied to any command.
Offline
Though kwin is likely started by the kde session process (is likely started by the DM?)
@Toadfield, let's maybe focus on what you actually set and which variables you don't want for "the compositor" - and why.
Post and explain your zprofile, since this is probably an xy-problem.
Also "stat /bin/sh" (to explain why eg. SDDM would invoke your zprofile to begin with)
Offline