hyprpanel: more granularly split configElements (#1931)

Fixes: 3f70c58555 ("hyprpanel: init (#1916)")
Link: https://github.com/nix-community/stylix/pull/1931

Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
NAHO 2025-10-05 20:47:27 +02:00 committed by GitHub
parent 503d989626
commit 09022804b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,14 +5,18 @@ mkTarget {
configElements = [
(
{ colors, fonts }:
{ fonts }:
{
programs.hyprpanel.settings.theme.fonts = {
inherit (fonts.monospace) name;
size = fonts.sizes.desktop;
};
}
)
(
{ colors }:
{
programs.hyprpanel.settings.theme = with colors.withHashtag; {
fonts = {
inherit (fonts.monospace) name;
size = fonts.sizes.desktop;
};
bar = {
menus = {
menu = {