2024-02-20 19:31:21 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
accentColour,
|
|
|
|
...
|
|
|
|
}: {
|
2024-02-12 08:48:19 +00:00
|
|
|
services.avizo = {
|
|
|
|
enable = true;
|
2024-02-20 19:31:21 +00:00
|
|
|
settings.default = with config.lib.stylix;
|
|
|
|
with colors; let
|
2024-02-12 08:48:19 +00:00
|
|
|
opacity = kind: (toString config.stylix.opacity.${kind});
|
|
|
|
in {
|
|
|
|
background = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, ${opacity "popups"})";
|
|
|
|
bar-bg-color = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, ${opacity "popups"})";
|
|
|
|
bar-fg-color = "rgba(${base05-rgb-r}, ${base05-rgb-g}, ${base05-rgb-b}, ${opacity "desktop"})";
|
2024-02-20 19:31:21 +00:00
|
|
|
border-color = "rgba(${colors."${accentColour}-rgb-r"}, ${colors."${accentColour}-rgb-g"}, ${colors."${accentColour}-rgb-b"}, ${opacity "desktop"})";
|
2024-02-12 08:48:19 +00:00
|
|
|
image-opacity = opacity "desktop";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|