-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
kde: replace kdeglobals
with Kvantum
theme
#142
base: master
Are you sure you want to change the base?
Conversation
One thing to note, I needed to use |
This is unusual because when I tested the original implementation, Dolphin followed the Stylix theme without any issues. Even the folder icons were coloured to match the theme. But I agree, Kvantum is probably more reliable if we can make it work.
This is something which we will need to be handle automatically. As a start, would it be possible to have it always set the default icon theme? |
kdeglobals
with Kvantum theme
+1 |
@danth I addressed this issue with my latest commit, with these changes I think this should be ready. |
kdeglobals
with Kvantum themekdeglobals
with Kvantum
theme
+1 |
Are there any blockers here? Would love to see this merged. |
@Jackaed That sounds great! If you have time, would you be able to put it together as a separate PR? |
@danth Sure, I'll have a look and see what I can do. Reading through the code, there's a few things that I'm not sure I fully understand - not sure that github issues is the right place to discuss that, can we speak on matrix? |
Absolutely, feel free to use either the public chat #stylix:danth.me or message me directly @danth:danth.me |
Now that 24.05 is stable, we can change |
What is blocking the merge of this generally? |
Feel free to try my fork or use |
This PR successfully builds on my setup after setting Unless the original author, @bluskript, is willing to take over this PR again, it might be better to supersede it with a new one that is properly rebased on top of Does @donovanglover's fork resolve the issue mentioned in #142 (comment)? Please give proper credit in the squashed commit message of this rather old PR by giving
It might be good to re-confirm Daniel (@danth) and NAHO's (@trueNAHO) credit tags before merging into Please send a comment if I missed any other up-to-date mention worthy contributions. @donovanglover, do you want to take over this PR? |
I'm quite busy at the moment but anyone is free to continue working on this |
Hi, I don't really use NixOS or Github much anymore so I can't really test the features, but I rebased this branch onto master, although it still needs someone to actually test if it still works. If further changes are needed someone else taking the PR would make sense I think. The main blocker for this PR iirc is that in some places it actually causes theming regressions like in Anki but I haven't had the time to investigate why, and there was discussion that this could be done without kvantum, but again this is a lot of work to figure out. QT theming is just really confusing. |
I've been testing it a bit @bluskript, thanks for the rebase! qbittorrent-qt5 formerly worked fine with this PR, but now that Nixpkgs has dumped qbittorrent-qt5 in favour of qt6, it renders incorrectly with this PR as can be seen in the image. Qt5 applications like |
@danth having done some more research into this, I'm in a bit of a bind. It seems like the Breeze theme reads it's color palette information directly from the |
@danth Any blockers on this? |
I am a bit late to the discussion, but I really want this PR to complete, so I'd like to help in any way possible. What I would like to push for here is that Kvantum is necessary for anyone using Qt apps without KDE. So it should be enabled for everyone that is not using KDE. The handling for @danth @trueNAHO If this approach is acceptable, I will proceed to review and edit this PR. |
Tbh the main issue I have with this PR is that I don't think Kvantum looks as good as Breeze. But I think that merging this would be absolutely fine especially if we kept the two different theming mechanisms behind a configurable setting. Also, does the current state of the module work for KDE users as-is? My understanding is that it does, since it can use I'm fairly close to giving up on making Breeze properly themable without using KDE. You end up having to install half the desktop environment to get it and I'm left with a bunch of crap I didn't want, like the KDE settings menu. TL;DR this is a good idea. |
You can just set |
I intend to only enable Kvatum if none of the following are enabled:
Which means I want to make this PR into something that is obsolete for anyone using the above. |
Currently, Stylix leverages several themes. Ideally, in the future, all popular themes would be supported and could be globally selected with something like
Sorry for having lost track of the plan. Is the plan to add standalone support for the Kvantum theme?
In that case, this approach sounds good to me.
Considering the blockers of this PR, it seems good to guard against these known these problems. |
Just as another datapoint (test result): I've had the configuration that is set by the module in this PR configured for a long time, but it never actually worked. In my case I have set However, when I do the following (and only then),
Interestingly, if I choose So it seems the HM config logic is still missing one step, i.e. the one that is applied by |
For anyone interested in kvantum theming, check out my PR #780. Note the requirements for it to have an effect (it might still work anyway, but I only give guarantees if these are met). |
Hey thanks, that seems to polish this PR to be useful ootb.
The point I tried to make above is that I do seem to satisfy the requirements, but the colour scheme has never correctly worked for Qt6 apps until I manually executed I'll try applying #780 when I find some time and see whether anything changes. (Tough I'd still need to know where the changes applied by |
The current KDE theming system is pretty unreliable (dolphin and many other programs ignore the theme and a lot of the time the apps that do theme are completely unreadable), I always found kvantum to give a lot more pleasant themes. So, I based this off of Catppuccin's kvantum theme and it turned out to work pretty well.
It isn't perfect, and there's some weirdnesses in some colorschemes sometimes, but that's kind of how all of base16 is.
Here's Dolphin, OpenRGB, and Strawberry open all themed correctly (Strawberry is QT6 so that works too!)