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