Pretty much all graphical apps that dont have thier own theming option (like firefox) are always just the white background default theme. No matter wether it's qt or gtk. Wich files would i need to edit to change that? Searching on the internet only told me that i should change an environment variable bit doing so changed nothing even though i have the themes installed
There are normally config files for GTK at ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini.
Qt themes are configured differently. For Qt5 and Qt6, set the environment variable QT_STYLE_OVERRIDE. If you still use Qt4 for anything, config is done in ~/.config/Trolltech.conf. Refer to the ArchWiki for help.
I personally prefer GUIs, though, so I'd recommend the following:
I would figure out your environment variables first. It's likely based on what you're saying that your setting those variables only for interactive shell and not someplace where they are sourced by your WM or whatever is launching your WM.
Check out this section of the ArchWiki article. The rest of the article may also have some useful info.