How to install the Breeze Dark (qt) on Hyprland

Hello, I’ve been trying to install any Qt theme on my Hyprland setup, but it’s unsuccessful.

I just wanna install the Breeze Dark theme for all Qt5/Qt6 applications, I don’t need any custom theme, just the default Breeze.

I already installed the adw-gtk3, but I don’t wanna emulate it for Qt5/Qt6.

Here’s my configs:

gtk.nix

{pkgs, ...}:
{
  gtk = {
    enable = true;

    theme = {
      name = "adw-gtk3-dark";
      package = pkgs.adw-gtk3;
    };

    iconTheme = {
      name = "Adwaita";
      package = pkgs.gnome.adwaita-icon-theme;
    };
  };
}

qt.nix (I tried to set example theme from someone"s guide, but not working)

{pkgs, ...}:
{
  qt = {
    enable = true;

    platformTheme = "qtct";
    style = {
      name = "kvantum";
    };
  };

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

    "Kvantum/GraphiteNord".source = "${pkgs.graphite-kde-theme}/share/Kvantum/GraphiteNord";
  };
}

This theme is in Kvantum Manager, but the applications themselves (e.g. Kleopatra) do not use it.

Hi, have you fixed the problem?

No, no one has answered and I’ve just put up with the not pretty white theme.

If you want to spend a lot of time you can manually set each and every color which works for most qt applications.

You can even for certain packages package it yourself with correct colors. This makes Anki work for example.

These solutions are not pretty, but they work.

1 Like

Would something like Stylix work for you? It will by default theme lots of apps (and gtk, and qt) with the colors you pick.

1 Like

Will it actually work with Hyprland (not a huge DE)?

I think it might: https://www.reddit.com/r/unixporn/comments/1c3y5mz/hyprland_automatic_themes_with_stylix/

Yes