This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/foot/default.nix
Evie Litherland-Smith c2dc12417c ssh: add keys to agent (new config syntax), remove heimdall
Set TERM env var to xterm-256color in foot config instead of as ssh
override, might fix emacs remote shell issues where it should be
TERM=dumb
2024-06-03 09:54:42 +01:00

48 lines
1.1 KiB
Nix

{
config,
fonts,
...
}: {
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
term = "xterm-256color";
locked-title = false;
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
dpi-aware = false;
pad = "10x10";
};
bell = {
urgent = false;
notify = false;
visual = false;
};
cursor = {blink = true;};
mouse = {hide-when-typing = true;};
colors = with config.scheme; rec {
alpha = 0.9;
background = base00;
foreground = base05;
regular0 = base02;
regular1 = red;
regular2 = green;
regular3 = yellow;
regular4 = blue;
regular5 = magenta;
regular6 = cyan;
regular7 = base05;
bright0 = base04;
bright1 = regular1;
bright2 = regular2;
bright3 = regular3;
bright4 = regular4;
bright5 = regular5;
bright6 = regular6;
bright7 = base05;
};
};
};
}