greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / wayland / foot.nix43 lines · 941B · raw

1{ lib, outputs, ... }:
2
3let
4  c = lib.mapAttrs (_: lib.removePrefix "#") outputs.palette.colors;
5in {
6  programs.foot = {
7    enable = true;
8    settings = {
9      main = {
10        font = "Fantasque Sans Mono:size=11";
11        line-height = "16px";
12        pad = "30x30 center";
13      };
14
15      colors-dark = {
16        foreground = c.fg;
17        background = c.bg;
18        cursor = "${c.bg} ${c.fg}";
19
20        selection-foreground = c.fg;
21        selection-background = c.surface;
22
23        regular0 = c.bgAlt;
24        regular1 = c.red;
25        regular2 = c.green;
26        regular3 = c.yellow;
27        regular4 = c.blue;
28        regular5 = c.magenta;
29        regular6 = c.teal;
30        regular7 = c.dim;
31
32        bright0 = c.surface;
33        bright1 = c.red;
34        bright2 = c.green;
35        bright3 = c.yellow;
36        bright4 = c.blue;
37        bright5 = c.magenta;
38        bright6 = c.teal;
39        bright7 = c.fg;
40      };
41    };
42  };
43}