nix/modules/home-manager/application/foot/default.nix
2024-04-29 23:56:21 +02:00

57 lines
1.4 KiB
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.modules.application.zathura;
in
{
options.modules.application.foot = {
enable = mkEnableOption "enable Foot terminal emulator";
};
config = mkIf cfg.enable {
programs.foot = {
enable = true;
settings = {
main = {
font = "Fira Code Nerd Font Mono:size=10";
};
mouse = {
hide-when-typing = "yes";
};
colors = {
background = "181818";
foreground = "d8d8d8";
regular0 = "181818";
regular1 = "ab4642";
regular2 = "a1b56c";
regular3 = "f7ca88";
regular4 = "7cafc2";
regular5 = "ba8baf";
regular6 = "86c1b9";
regular7 = "d8d8d8";
bright0 = "585858";
bright1 = "dc9656";
bright2 = "282828";
bright3 = "383838";
bright4 = "b8b8b8";
bright5 = "e8e8e8";
bright6 = "a16946";
bright7 = "f8f8f8";
"16" = "dc9656";
"17" = "a16946";
"18" = "282828";
"19" = "383838";
"20" = "b8b8b8";
"21" = "e8e8e8";
selection-background = "d8d8d8";
selection-foreground = "181818";
urls = "b8b8b8";
jump-labels = "181818 f7ca88";
scrollback-indicator= "181818 b8b8b8";
};
csd = {
preferred = "none";
};
};
};
};
}