stylix/modules/avizo/hm.nix

26 lines
697 B
Nix
Raw Normal View History

2023-03-29 07:51:33 +00:00
{pkgs, config, lib, ... }:
with config.lib.stylix.colors.withHashtag;
with config.stylix.fonts;
2023-05-18 19:00:50 +00:00
let
aviOpacity = lib.toHexString ((((builtins.ceil (config.stylix.opacity.popups * 100)) * 255) / 100));
in
2023-03-29 07:51:33 +00:00
{
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 = {
2023-05-18 19:00:50 +00:00
background=base00 + aviOpacity;
2023-03-29 07:51:33 +00:00
border-color=base0D;
bar-fg-color=base05;
2023-05-18 19:00:50 +00:00
bar-bg-color=base00 + aviOpacity;
2023-03-29 07:51:33 +00:00
};
};
};
};
}