Because setting an environment variable via a shell init file doesn’t seem to be en vouge in modern linux distributions we need to find other ways. To spare you breaking precious hardware in the process here is the solution:
You can define “.conf” files within the directory ~/.config/environment.d/
that may contain one variable definition per line and out of these the startup environment for your window manager will be constructed.