fix: waybar extra style
This commit is contained in:
parent
de5a79214a
commit
1c9213b71d
2 changed files with 9 additions and 2 deletions
|
|
@ -91,11 +91,18 @@
|
|||
format-icons = ["" "" "" "" ""];
|
||||
tooltip = false;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
finalSettings = baseSettings // cfg.settings.extra;
|
||||
in {
|
||||
programs.waybar = lib.mkIf (cfg.enable && cfg.style.preset != "none") {
|
||||
style = selectedStyle + "\n" + cfg.style.extra;
|
||||
enable = true;
|
||||
settings = [finalSettings];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -500,6 +500,6 @@
|
|||
else "";
|
||||
in {
|
||||
programs.waybar = lib.mkIf (cfg.enable && cfg.style.preset != "none") {
|
||||
style = selectedStyle;
|
||||
style = selectedStyle + "\n" + cfg.style.extra;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue