greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / features / wayland / foot.nix42 lines · 911B · 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      };
13
14      colors-dark = {
15        foreground = c.fg;
16        background = c.bg;
17        cursor = "${c.bg} ${c.fg}";
18
19        selection-foreground = c.fg;
20        selection-background = c.surface;
21
22        regular0 = c.bgAlt;
23        regular1 = c.red;
24        regular2 = c.green;
25        regular3 = c.yellow;
26        regular4 = c.blue;
27        regular5 = c.magenta;
28        regular6 = c.teal;
29        regular7 = c.dim;
30
31        bright0 = c.surface;
32        bright1 = c.red;
33        bright2 = c.green;
34        bright3 = c.yellow;
35        bright4 = c.blue;
36        bright5 = c.magenta;
37        bright6 = c.teal;
38        bright7 = c.fg;
39      };
40    };
41  };
42}