DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 4fd7974f9a84c728df741450cd59bbb522660286 nix-arta/modules/nixos/foot.nix -rw-r--r-- 1.1 KiB
4fd7974fJonni Liljamo feat: remove elvish and carapace a day ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  flake.modules.nixos.foot = {lib, ...}: let
    col = lib.arta.colours.everforest;
  in {
    programs.foot = {
      enable = true;
      settings = {
        main = {
          font = "FiraCode Nerd Font Mono:size=12";

          pad = "10x10";
        };

        bell.system = "no";
        url.osc8-underline = "always";

        colors = {
          alpha = 0.9;
          alpha-mode = "matching";

          foreground = col.fg;
          background = col.bg0;

          selection-foreground = col.grey2;
          selection-background = col.bg_visual;

          urls = col.blue;

          regular0 = col.statusline.grey;
          regular1 = col.red;
          regular2 = col.green;
          regular3 = col.yellow;
          regular4 = col.blue;
          regular5 = col.purple;
          regular6 = col.aqua;
          regular7 = col.grey1;
          bright0 = col.grey2;
          bright1 = col.statusline.red;
          bright2 = col.statusline.green;
          bright3 = col.yellow;
          bright4 = col.blue;
          bright5 = col.purple;
          bright6 = col.aqua;
          bright7 = col.grey0;
        };
      };
    };
  };
}