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/foot.nix | 55 ++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 modules/user/aesthetics/targets/foot.nix (limited to 'modules/user/aesthetics/targets/foot.nix') diff --git a/modules/user/aesthetics/targets/foot.nix b/modules/user/aesthetics/targets/foot.nix new file mode 100644 index 0000000..c6c2283 --- /dev/null +++ b/modules/user/aesthetics/targets/foot.nix @@ -0,0 +1,55 @@ +{ config, lib, ... }: let + cfg = config.aesthetics.targets.foot; + aes = config.aesthetics; +in { + options.aesthetics.targets.foot.enable = lib.mkOption { + type = lib.types.bool; + default = (aes.enableAllTargets && aes.hasGui); + description = "Whether to enable the aesthetics foot target."; + }; + config = lib.mkIf (cfg.enable && config.programs.foot.enable) { + programs.foot.settings = { + main.font = "${aes.font.name}:size=${aes.font.size.small}"; + tweak.font-monospace-warn = false; + colors = with aes.scheme; { + background = base00; + foreground = base05; + + # normal + regular0 = base00; + regular1 = base08; + regular2 = base0B; + regular3 = base0A; + regular4 = base0D; + regular5 = base0E; + regular6 = base0C; + regular7 = base05; + + # bright + bright0 = base03; + bright1 = base09; + bright2 = base01; + bright3 = base02; + bright4 = base04; + bright5 = base06; + bright6 = base0F; + bright7 = base07; + + # extended + "16" = base09; + "17" = base0F; + "18" = base01; + "19" = base02; + "20" = base04; + "21" = base06; + + # misc + selection-background = base05; + selection-foreground = base00; + urls = base04; + jump-labels = "${base00} ${base0A}"; + scrollback-indicator = "${base00} ${base04}"; + }; + }; + }; +} -- cgit v1.2.3