Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup Qt theme? #297

Open
heitorPB opened this issue Jul 29, 2024 · 1 comment
Open

How to setup Qt theme? #297

heitorPB opened this issue Jul 29, 2024 · 1 comment
Labels
question Further information is requested

Comments

@heitorPB
Copy link

I'm trying to configure Qt theme using catppuccin.nix, but I couldn't get it to work.

This is what I have:

{ ... }:
let
  catppuccinFlavor = "macchiato";
  catppuccinAccent = "blue";
in
{
  qt.style.catppuccin = {
    enable = true;
    apply = true;
    accent = catppuccinAccent;
    flavor = catppuccinFlavor;
  };
}

But when I try to open a Qt app I get plain white unthemed app. I also get a weird messaged about missing Kvantum:

$ pcmanfm-qt
QApplication: invalid style override 'kvantum' passed, ignoring it.
        Available styles: Windows, Fusion

Apparently qt.style.catppuccin is not enough to the get the theme. What I am missing?

@Anomalocaridid
Copy link
Contributor

Do you have qt.style.name and qt.platformTheme.name both set to "kvantum"?

If so, have you tried logging out and logging back in again?

@getchoo getchoo added the question Further information is requested label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants