-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Waybar: only inject colors #429
Comments
This is a somewhat already acknowledged problem:
|
It seems we're trying to cater to two different groups of users:
The best idea that comes to mind is adding a way to partially disable an individual target, so you still get the colors as variables but not applied to anything. |
That is pretty much the behavior that I would expect, yeah, doing something like stylix.targets.waybar.addCSS = false; |
Is this not essentially disabling targets with |
It would keep the variable definitions part of the CSS, but not the opinionated part which applies those variables to certain areas of the UI. |
I suppose you can just disable stylix for waybar and include the |
That's precisely what I did, for now. |
The CSS that is shipped with stylix for waybar is not quite what I want, as I already have written my own styles for it. I only want for the colors to be prepended to the CSS, so that I would be able to use them.
It would be great if there would be an ability to only inject color definitions, as it is already being done:
stylix/modules/waybar/hm.nix
Lines 36 to 41 in 73c6955
I'm not sure of what's the best practice to implement such behavior, as I, as the user set the
waybar.style
property, but stylix also has to write into there somehow. Perhaps a whole different paradigm is required for this, but I'm not the author of stylix to decide.The text was updated successfully, but these errors were encountered: