From 09022804b2bcd217f3a41a644d26b23d30375d12 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:47:27 +0200 Subject: [PATCH] hyprpanel: more granularly split configElements (#1931) Fixes: 3f70c5855572 ("hyprpanel: init (#1916)") Link: https://github.com/nix-community/stylix/pull/1931 Reviewed-by: awwpotato --- modules/hyprpanel/hm.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/modules/hyprpanel/hm.nix b/modules/hyprpanel/hm.nix index 1f2e4aa5..32e38df8 100644 --- a/modules/hyprpanel/hm.nix +++ b/modules/hyprpanel/hm.nix @@ -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 = {