Consistent theming on GTK and QT

Hi,

I run NIxOS Unstable with Gnome and the WhiteSur Dark theme. I have tried to get my QT apps to be WhiteSur-dark as well. I installed whitesur-kde and Kvantum.

But for whatever reason they are the non-dark version of WhiteSur.

My home manager qt config is:
Changing WhiteSur to WhiteSur-Dark anywhere does not make a difference.

      qt = {
        enable = true;
        platformTheme.name = "qtct";
        style.name = "kvantum";
      };

      xdg.configFile = {
        "Kvantum/kvantum.kvconfig".text = ''
          [General]
          theme=WhiteSur
        '';

        "Kvantum/WhiteSurDark".source = "${pkgs.whitesur-kde}/share/Kvantum/WhiteSur";
      };

Doing a “ls” in ./config/Kvantum shows this:

[dp@elitebook:~/.config/Kvantum]$ ls
 kvantum.kvconfig   WhiteSurDark
[dp@elitebook:~/.config/Kvantum]$ cd WhiteSurDark
[dp@elitebook:~/.config/Kvantum/WhiteSurDark]$ ls
 WhiteSur.kvconfig  󰕙 WhiteSur.svg   WhiteSurDark.kvconfig  󰕙 WhiteSurDark.svg

Any idea how I can fix it? Non dark apps is super annoying! :confused:

1 Like