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 = ["" "" "" "" ""];
|
format-icons = ["" "" "" "" ""];
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
finalSettings = baseSettings // cfg.settings.extra;
|
finalSettings = baseSettings // cfg.settings.extra;
|
||||||
in {
|
in {
|
||||||
programs.waybar = lib.mkIf (cfg.enable && cfg.style.preset != "none") {
|
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 "";
|
else "";
|
||||||
in {
|
in {
|
||||||
programs.waybar = lib.mkIf (cfg.enable && cfg.style.preset != "none") {
|
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