-
Notifications
You must be signed in to change notification settings - Fork 56
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
bug: ctp.kvantum
does not allow qt.platformTheme.name = qtct
#275
Comments
Did you find a solution/workaround to this? |
nope, just didn't use catppuccin/nix for kvantum, configured it in home-manager manually |
Would you be so kind to share your configuration? I've been trying to get Qt themed but only frustrations so far. |
sure, qt = let
upperFirst = str:
(lib.toUpper (builtins.substring 0 1 str))
+ (builtins.substring 1 (builtins.stringLength str) str);
flavorCapitalized = upperFirst config.catppuccin.flavor;
accentCapitalized = upperFirst config.catppuccin.accent;
in {
enable = true;
platformTheme.name = "qtct";
style.name = "kvantum";
kde.settings."Kvantum/kvantum.kvconfig".General.theme = "Catppuccin-${flavorCapitalized}-${accentCapitalized}";
}; ref: |
Thank you! |
Sorry for the long wait here, I've been a bit busy with things IRL and honestly I'm not very familiar with Qt/KDE/Kvantum theming As of #244, I was under the impression that this was required alongside CC @olifloof as author of that PR |
i've somewhat recently switched to using the qtct port as the kvantum theme (by my experience) has had some issues with apps using qml other than that, i'm also not very experienced with qt theming |
i think this might clarify some things
for nixos this means
to apply the theme for qtct or kvantum config automatically use sources: https://github.com/nix-community/home-manager/blob/master/modules/misc/qt.nix, https://github.com/nix-community/home-manager/blob/master/modules/misc/qt/kconfig.nix for reference, my config: https://gist.github.com/zspher/e832aa4fd66f53a5fccac518b52eec19 |
ctp.kvantum
does not allowqt.platformTheme.name = qtct
. I use qtct to set icon theme and fonts while using kvantum.So if possible can qtct be made an exception in
nix/modules/home-manager/kvantum.nix
Line 43 in 9345073
The text was updated successfully, but these errors were encountered: