Skip to content

Commit 0902280

Browse files
authored
hyprpanel: more granularly split configElements (#1931)
Fixes: 3f70c58 ("hyprpanel: init (#1916)") Link: #1931 Reviewed-by: awwpotato <[email protected]>
1 parent 503d989 commit 0902280

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

modules/hyprpanel/hm.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ mkTarget {
55

66
configElements = [
77
(
8-
{ colors, fonts }:
8+
{ fonts }:
9+
{
10+
programs.hyprpanel.settings.theme.fonts = {
11+
inherit (fonts.monospace) name;
12+
size = fonts.sizes.desktop;
13+
};
14+
}
15+
)
16+
(
17+
{ colors }:
918
{
1019
programs.hyprpanel.settings.theme = with colors.withHashtag; {
11-
fonts = {
12-
inherit (fonts.monospace) name;
13-
size = fonts.sizes.desktop;
14-
};
15-
1620
bar = {
1721
menus = {
1822
menu = {

0 commit comments

Comments
 (0)