I’m running Manjaro with XFCE. Using the XFCE Appearance setting I changed the theme to Matcha-light-azul. This works fine, except for gtk4 applications (such as gnome-system-monitor). As explained here, setting GTK_THEME solves this, and gtk4 applications use the theme’s titlebuttons instead of the default ones: https://forum.manjaro.org/t/how-to-theme-gtk4-apps-in-manjaro-xfce/100189/7
See also here: https://forum.manjaro.org/t/xfce-desktop-with-gnome-system-monitor-theme-problem/161650
I can set GTK_THEME in /etc/environment, but then it applies to all users (is there a config file to put this in which only affects the specific user?). More importantly, switching themes in the Appearance settings does not change this, of course.
Is there a more appropriate mechanism which could be made react on switching the appearance setting (just as the Appearance config pane has an option to automatically affect the XFCE windows settings if the selected theme does support it)?
Using gsettings as mentioned in https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/406
does not seem to affect the GTK4 application’s titlebuttons (just the color theming dark/light of the main part of its windows).