mirror of
https://github.com/danth/stylix
synced 2024-11-23 12:43:12 +00:00
25 lines
697 B
Nix
25 lines
697 B
Nix
{pkgs, config, lib, ... }:
|
|
|
|
with config.lib.stylix.colors.withHashtag;
|
|
with config.stylix.fonts;
|
|
let
|
|
aviOpacity = lib.toHexString ((((builtins.ceil (config.stylix.opacity.popups * 100)) * 255) / 100));
|
|
in
|
|
{
|
|
options.stylix.targets.avizo.enable =
|
|
config.lib.stylix.mkEnableTarget "Avizo" true;
|
|
|
|
# Referenced https://github.com/stacyharper/base16-mako
|
|
config = lib.mkIf config.stylix.targets.avizo.enable {
|
|
services.avizo = {
|
|
settings = {
|
|
default = {
|
|
background=base00 + aviOpacity;
|
|
border-color=base0D;
|
|
bar-fg-color=base05;
|
|
bar-bg-color=base00 + aviOpacity;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|