Hyprpanel: add target
Add support for the Hyprpanel bar (Ags/Astal) I could try to implement it myself, but I’m unsure how to choose the colors for each module. Are they opinion-based?
I’m unsure how to choose the colors for each module. Are they opinion-based?
Until https://github.com/danth/stylix/issues/249 is resolved, the Style Guide is the best we have.
Essentially, choose the colors you think look best and then verify them with various themes to make sure they are not unreadable in certain cases.
Maybe not an ideal solution, but if you set your wallpaper through stylix you could just inherit the value to hyprpanel in it’s own configuration and enable matugen theming for it.
Like this you could at least get a matching color scheme far wallpapers.
{ config, … }:
programs.hyprpanel = {
enable = true;
settings = {
wallpaper.image = "${config.stylix.image}";
theme.matugen = true;
};
};
For predefined themes, you might need to set the values manually though for each module. But you can easily do that by requesting the wanted value like so: config.stylix.image.base05 for example
For predefined themes, you might need to set the values manually though for each module. But you can easily do that by requesting the wanted value like so: config.stylix.image.base05 for example
can we use that for writing the target?
For predefined themes, you might need to set the values manually though for each module. But you can easily do that by requesting the wanted value like so: config.stylix.image.base05 for example
can we use that for writing the target?
If we are just setting programs.hyprpanel.settings.wallpaper.image, the target might not be very useful on its own. Also, is this even a desirable default behavior?
Otherwise, reasonable default declarations could be exposed, similar to:
- https://github.com/nix-community/stylix/blob/f6c5aaa4f8b70ec0bf995be43311c38be3131776/modules/i3/hm.nix#L15-L32
- https://github.com/nix-community/stylix/blob/f6c5aaa4f8b70ec0bf995be43311c38be3131776/modules/sway/hm.nix#L14-L31