waybar: fix use of deprecated function substituteAll
This commit is contained in:
parent
48ca243d3b
commit
dc89b61ff7
1 changed files with 10 additions and 14 deletions
|
@ -234,23 +234,19 @@ in
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
style = builtins.readFile (
|
style = pkgs.replaceVars ./style.css {
|
||||||
pkgs.substituteAll {
|
accent_color = accent.color;
|
||||||
src = ./style.css;
|
|
||||||
|
|
||||||
accent_color = accent.color;
|
color_bg = color.bg;
|
||||||
|
color_bg_dark = color.bg_dark;
|
||||||
|
color_bg_light = color.bg_light;
|
||||||
|
color_txt = color.txt;
|
||||||
|
|
||||||
color_bg = color.bg;
|
font_interface = font.interface;
|
||||||
color_bg_dark = color.bg_dark;
|
|
||||||
color_bg_light = color.bg_light;
|
|
||||||
color_txt = color.txt;
|
|
||||||
|
|
||||||
font_interface = font.interface;
|
font_size_big = "${toString font.size.big}px";
|
||||||
|
font_size_medium = "${toString font.size.medium}px";
|
||||||
font_size_big = "${toString font.size.big}px";
|
};
|
||||||
font_size_medium = "${toString font.size.medium}px";
|
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [ waybar ];
|
home.packages = with pkgs; [ waybar ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue