2024-10-01 15:54:04 +00:00
|
|
|
{
|
|
|
|
inputs,
|
2024-10-02 14:45:43 +00:00
|
|
|
nixosConfig,
|
2024-10-01 15:54:04 +00:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
programs.foot = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
main = {
|
|
|
|
term = "xterm-256color";
|
|
|
|
font = "monospace:size=14";
|
|
|
|
};
|
|
|
|
colors = let
|
2024-10-02 14:45:43 +00:00
|
|
|
inherit (nixosConfig.theme) scheme;
|
2024-10-01 15:54:04 +00:00
|
|
|
schemeData = inputs.basix.schemeData.base16.${scheme};
|
|
|
|
in {
|
|
|
|
background = schemeData.palette.base00;
|
|
|
|
foreground = schemeData.palette.base05;
|
|
|
|
|
|
|
|
regular0 = schemeData.palette.base01;
|
|
|
|
regular1 = schemeData.palette.base08;
|
|
|
|
regular2 = schemeData.palette.base0B;
|
|
|
|
regular3 = schemeData.palette.base0A;
|
|
|
|
regular4 = schemeData.palette.base0D;
|
|
|
|
regular5 = schemeData.palette.base0E;
|
|
|
|
regular6 = schemeData.palette.base0C;
|
|
|
|
regular7 = schemeData.palette.base06;
|
|
|
|
|
|
|
|
bright0 = schemeData.palette.base02;
|
|
|
|
bright1 = schemeData.palette.base08;
|
|
|
|
bright2 = schemeData.palette.base0B;
|
|
|
|
bright3 = schemeData.palette.base0A;
|
|
|
|
bright4 = schemeData.palette.base0D;
|
|
|
|
bright5 = schemeData.palette.base0E;
|
|
|
|
bright6 = schemeData.palette.base0C;
|
|
|
|
bright7 = schemeData.palette.base07;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|