how do you theme graphical apps in a wm? - eviltoast

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

  • Hellfire103@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    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:

    • For GTK 2 & 3: LXAppearance
    • For GTK 3 & 4: Gradience
    • For Qt: qt5ct, qt6ct, and/or Kvantum
  • TnSb@lemmy.beckmeyer.us
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    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.