2024-02-20 19:31:21 +00:00
|
|
|
{
|
2024-03-31 12:59:24 +01:00
|
|
|
scheme,
|
2024-02-29 15:29:19 +00:00
|
|
|
accentColour ? "base07",
|
2024-02-20 19:31:21 +00:00
|
|
|
...
|
|
|
|
}: {
|
2024-02-12 08:48:19 +00:00
|
|
|
services.avizo = {
|
|
|
|
enable = true;
|
2024-03-31 12:59:24 +01:00
|
|
|
settings.default = with scheme; let
|
|
|
|
accent = {
|
|
|
|
r = scheme."${accentColour}-rgb-r";
|
|
|
|
g = scheme."${accentColour}-rgb-g";
|
|
|
|
b = scheme."${accentColour}-rgb-b";
|
2024-03-09 11:44:30 +00:00
|
|
|
};
|
2024-02-12 08:48:19 +00:00
|
|
|
in {
|
2024-03-31 12:59:24 +01:00
|
|
|
background = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8)";
|
|
|
|
bar-bg-color = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8)";
|
2024-03-09 11:44:30 +00:00
|
|
|
bar-fg-color = "rgba(${base05-rgb-r}, ${base05-rgb-g}, ${base05-rgb-b}, 1.0)";
|
|
|
|
border-color = "rgba(${accent.r}, ${accent.g}, ${accent.b}, 1.0)";
|
|
|
|
image-opacity = "1.0";
|
2024-02-12 08:48:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|