20 lines
550 B
Nix
20 lines
550 B
Nix
|
{ config, accentColourName, ... }:
|
||
|
{
|
||
|
services.avizo = {
|
||
|
enable = true;
|
||
|
settings.default =
|
||
|
let
|
||
|
sc = config.scheme;
|
||
|
rgba =
|
||
|
colourName: "${sc."${colourName}-rgb-r"}, ${sc."${colourName}-rgb-g"}, ${sc."${colourName}-rgb-b"}";
|
||
|
in
|
||
|
{
|
||
|
background = "rgba(${rgba "base00"}, 0.9)";
|
||
|
bar-bg-color = "rgba(${rgba "base00"}, 0.9)";
|
||
|
bar-fg-color = "rgba(${rgba "base05"}, 1.0)";
|
||
|
border-color = "rgba(${rgba accentColourName}, 1.0)";
|
||
|
image-opacity = "1.0";
|
||
|
};
|
||
|
};
|
||
|
}
|