fix(catppuccin): add i3status colours
This commit is contained in:
parent
ce7505bd12
commit
118088a3ef
|
@ -3,7 +3,7 @@
|
||||||
, config
|
, config
|
||||||
, ... }: with lib; let
|
, ... }: with lib; let
|
||||||
cfg = config.passthrough.catppuccin;
|
cfg = config.passthrough.catppuccin;
|
||||||
palette = (import ./palette.nix).${cfg.palette};
|
palette = (lib.importJSON "${config.catppuccin.sources.palette}/palette.json").${config.catppuccin.flavor}.colors;
|
||||||
in mkIf cfg.enable {
|
in mkIf cfg.enable {
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -58,4 +58,11 @@ in mkIf cfg.enable {
|
||||||
# dodge the status bar
|
# dodge the status bar
|
||||||
gaps.bottom = 0;
|
gaps.bottom = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# i3status colour palette override
|
||||||
|
programs.i3status.general = with palette; {
|
||||||
|
color_good = lavender.hex;
|
||||||
|
color_degraded = yellow.hex;
|
||||||
|
color_bad = red.hex;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue