From 9786eb8672213344d8d1b7bdef12bc94510b20db Mon Sep 17 00:00:00 2001 From: outremonde Date: Tue, 10 Jun 2025 20:32:00 -0400 Subject: initialized repository Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626 --- modules/user/aesthetics/targets/mako.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/user/aesthetics/targets/mako.nix (limited to 'modules/user/aesthetics/targets/mako.nix') diff --git a/modules/user/aesthetics/targets/mako.nix b/modules/user/aesthetics/targets/mako.nix new file mode 100644 index 0000000..2ade32e --- /dev/null +++ b/modules/user/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}"; + }; + }; +} -- cgit v1.2.3