summaryrefslogtreecommitdiff
path: root/home/wayland/modules/foot.nix
blob: 0b12ac56323349df7f8b7543b517c95ce38a7b05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, lib, ... }: let
  font = config.global.font.monospace.name
    + lib.optionalString (config.global.font.monospace.size != null)
      ":size=" + builtins.toString config.global.font.monospace.size;
in {
  home.sessionVariables.TERMINAL =
    lib.getExe config.programs.foot.package;
  programs.foot = {
    enable = true;

    settings = {
      colors.background = "000000";
      main = {
        inherit font;
        pad = "10x10";
      };
    };
  };
}