summaryrefslogtreecommitdiff
path: root/home/wayland/modules/foot.nix
blob: 9c0e76d9214e1e006c3ba4dd5f4a99e817509d6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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";
        alpha = "0.8";
      };
      main = {
        inherit font;
        pad = "10x10";
      };
    };
  };
}