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/sway/foot/default.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2024-05-27 17:06:52 +01:00
{
config,
fonts,
...
}: {
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
# term = "xterm-256color";
# title = "foot";
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 = base03;
bright1 = regular1;
bright2 = regular2;
bright3 = regular3;
bright4 = regular4;
bright5 = regular5;
bright6 = regular6;
bright7 = base04;
};
};
};
}