-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Overriding Gnome template #621
Comments
Ideally, we would upstream (NixOS, Home Manager, or nix-darwin) relevant options to seamlessly integrate Stylix into external Nix code.
The future Vim highlight groups would allow us to get rid of mustache templates:
|
Are the patches really suitable for upstreaming though? It contains a lot of stylix-specific changes, like removing dark mode. The style sheet itself is also fairly opinionated and custom, which is not something I usually see upstream. |
My idea was to move our string injection architecture xdg.configFile."<MODULE>".text = "<KEY>=<VALUE>"; upstream, and then we only use its interface: programs.<MODLE>.extraConfig."<KEY>" = "<VALUE>"; This centralizes the string injection upstream and hopefully gets rid of override issues:
|
I see, but in the case for Gnome you can't feed the values via I think a more sensible short-term approach is to import the template files via the inputs in |
Yes.
This sounds like a really good short-term solution. Feel free to submit a PR. |
Actually, would it not be better to do this with an option, like |
Yeah, a |
I wanted to override a few colors for Gnome (without recreating all the needed derivations), but it looks like that the template is hardcoded.
There's this relevant thread: #159 about moving these templates out-of-tree. Would a PR for separating the mustache template to a different repo be acceptable here?
The text was updated successfully, but these errors were encountered: