Adjust Alacritty to also use fish, in case I switch back

This commit is contained in:
Evie Litherland-Smith 2024-09-01 13:16:24 +01:00
parent 41ead51c95
commit 97407ea5eb

View file

@ -3,6 +3,7 @@
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings = { settings = {
shell = "${config.programs.fish.package}/bin/fish";
font = { font = {
size = fonts.sizes.applications; size = fonts.sizes.applications;
normal = { normal = {
@ -45,28 +46,22 @@
in in
{ {
draw_bold_text_with_bright_colors = false; draw_bold_text_with_bright_colors = false;
primary = with config.scheme; { primary = {
background = "0x${base00}"; background = "0x${config.scheme.base00}";
foreground = "0x${base05}"; foreground = "0x${config.scheme.base05}";
}; };
cursor = with config.scheme; { cursor = {
cursor = "0x${base05}"; cursor = "0x${config.scheme.base05}";
text = "0x${base00}"; text = "0x${config.scheme.base00}";
}; };
normal = normal = {
with config.scheme; black = "0x${config.scheme.base00-hex}";
{ white = "0x${config.scheme.base05-hex}";
black = "0x${base00-hex}"; } // mapNamedColours;
white = "0x${base05-hex}"; bright = {
} black = "0x${config.scheme.base03-hex}";
// mapNamedColours; white = "0x${config.scheme.base07-hex}";
bright = } // mapNamedBrightColours;
with config.scheme;
{
black = "0x${base03-hex}";
white = "0x${base07-hex}";
}
// mapNamedBrightColours;
}; };
}; };
}; };