summaryrefslogblamecommitdiff
path: root/home/wayland/modules/foot.nix
blob: 0b12ac56323349df7f8b7543b517c95ce38a7b05 (plain) (tree)
1
2
3
4
5
6
7

                                          
                                                                    
                                                                     
    

                                            





                                   
                     
                      



        
{ 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";
      };
    };
  };
}