nix-dotfiles/home/foot.nix

56 lines
1.8 KiB
Nix
Raw Normal View History

2024-09-17 18:14:26 +02:00
{ pkgs, lib, config, ... }:
2024-06-14 14:35:25 +02:00
{
home.packages = with pkgs; [
foot
];
programs.foot.enable = true;
programs.foot.settings = {
2024-09-11 14:57:36 +02:00
2024-06-14 14:35:25 +02:00
main = {
term = "xterm-256color";
2024-06-16 12:22:31 +02:00
font = "0xproto:size=12";
#dpi-aware = "yes";
2024-06-14 14:35:25 +02:00
};
mouse = {
hide-when-typing = "yes";
2024-09-17 18:14:26 +02:00
};
colors = {
alpha = "0.7";
#set based on https://github.com/tinted-theming/base16-foot/blob/main/colors/base16-apathy.ini and https://github.com/tinted-theming/base16-schemes/blob/main/apathy.yaml
foreground = "${config.colorScheme.palette.base05}";
background = "${config.colorScheme.palette.base00}";
regular0 = "${config.colorScheme.palette.base00}";
regular1 = "${config.colorScheme.palette.base08}";
regular2 = "${config.colorScheme.palette.base0B}";
regular3 = "${config.colorScheme.palette.base0A}";
regular4 = "${config.colorScheme.palette.base0D}";
regular5 = "${config.colorScheme.palette.base0E}";
regular6 = "${config.colorScheme.palette.base0C}";
regular7 = "${config.colorScheme.palette.base05}";
bright0 = "${config.colorScheme.palette.base03}";
bright1 = "${config.colorScheme.palette.base08}";
bright2 = "${config.colorScheme.palette.base0B}";
bright3 = "${config.colorScheme.palette.base0A}";
bright4 = "${config.colorScheme.palette.base0D}";
bright5 = "${config.colorScheme.palette.base0E}";
bright6 = "${config.colorScheme.palette.base0C}";
bright7 = "${config.colorScheme.palette.base07}";
selection-foreground = "${config.colorScheme.palette.base00}";
selection-background = "${config.colorScheme.palette.base0A}";
};
2024-06-14 14:35:25 +02:00
};
}