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

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