nixos/home/avizo/default.nix
2024-02-12 08:48:19 +00:00

15 lines
647 B
Nix

{config, ...}: {
services.avizo = {
enable = true;
settings.default = with config.lib.stylix.colors; let
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"})";
border-color = "rgba(${base0E-rgb-r}, ${base0E-rgb-g}, ${base0E-rgb-b}, ${opacity "desktop"})";
image-opacity = opacity "desktop";
};
};
}