aboutsummaryrefslogtreecommitdiff
path: root/modules/foot.nix
blob: 07ef2ce1caf85df02dc2ab938c789dfe49ded8d8 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{ config, lib, pkgs, ... }:
let
  inherit lib config;
  cfg = config.modules.foot;
in
{
  options.modules.foot = {
    enable = lib.mkEnableOption "foot";
  };

  config = {
    programs.foot = {
      enable = cfg.enable;
      server = {
        enable = true;
      };
      settings = {
        main = {
          font="ComicShannsMono Nerd Font Mono:size=12";
          title="term";
          resize-by-cells="no";
          pad="0x0 center";
        };

        desktop-notifications.command = "notify-send -a \${app-id} -i \${app-id} \${title} \${body}";
        url.label-letters="arstneio";

        cursor = {
          style="block";
          blink="no";
          color="0f0f0f cacaca";
        };

        colors = {
          foreground="cacaca";
          background="0f0f0f";
          regular0="0f0f0f";
          regular1="ac8a8c";
          regular2="8aac8b";
          regular3="aca98a";
          regular4="8f8aac";
          regular5="ac8aac";
          regular6="8aabac";
          regular7="cacaca";
          bright0="262626 ";
          bright1="c49ea0 ";
          bright2="9ec49f ";
          bright3="c4c19e ";
          bright4="a39ec4 ";
          bright5="c49ec4 ";
          bright6="9ec3c4 ";
          bright7="f5f5f5 ";
          "16"="ceb188";
          "17"="ac8a8c";
          "18"="191919";
          "19"="262626";
          "20"="ac8a8c";
          "21"="e7e7e7";
        };
      };
    };
  };
}