diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-02 10:48:21 -0400 |
| commit | 31c316d19cd974bb81a5d6de62142ff24db1c78e (patch) | |
| tree | cb941422c76cb8953830a8d58c8e14dca1a10319 /home-manager/modules/aesthetics/targets/mako.nix | |
| parent | 1c21018347aa277caba74e554cb8d1b1e7fc6bed (diff) | |
reorganized directory structure
Diffstat (limited to 'home-manager/modules/aesthetics/targets/mako.nix')
| -rw-r--r-- | home-manager/modules/aesthetics/targets/mako.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/home-manager/modules/aesthetics/targets/mako.nix b/home-manager/modules/aesthetics/targets/mako.nix new file mode 100644 index 0000000..2ade32e --- /dev/null +++ b/home-manager/modules/aesthetics/targets/mako.nix @@ -0,0 +1,23 @@ +{ + config, + lib, + ... +}: let + cfg = config.aesthetics.targets.mako; + aes = config.aesthetics; +in { + options.aesthetics.targets.mako.enable = lib.mkOption { + type = lib.types.bool; + default = aes.enableAllTargets && aes.hasGui; + description = "Whether to enable the aesthetics mako target."; + }; + config = lib.mkIf (cfg.enable && config.services.mako.enable) { + services.mako.settings = with aes.scheme; { + background-color = "#${base00}"; + border-color = "#${base0C}"; + text-color = "#${base05}"; + progress-color = "over #${base02}"; + font = "${aes.font.name} ${aes.font.size.small}"; + }; + }; +} |
