nixos/home/alacritty.nix

110 lines
2.5 KiB
Nix

{ config, lib, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
window = {
dynamic_title = true;
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.8;
};
font = {
normal.family = "FiraMono Nerd Font";
size = 14.0;
};
selection.save_to_clipboard = true;
live_config_reload = true;
mouse.hide_when_typing = true;
colors = {
primary = {
background = "#1E1E2E";
foreground = "#CDD6F4";
dim_foreground = "#CDD6F4";
bright_foreground = "#CDD6F4";
};
cursor = {
text = "#1E1E2E";
cursor = "#F5E0DC";
};
vi_mode_cursor = {
text = "#1E1E2E";
cursor = "#B4BEFE";
};
search = {
matches = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
focused_match = {
foreground = "#1E1E2E";
background = "#A6E3A1";
};
footer_bar = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
};
hints = {
start = {
foreground = "#1E1E2E";
background = "#F9E2AF";
};
end = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
};
selection = {
text = "#1E1E2E";
background = "#F5E0DC";
};
normal = {
black = "#45475A";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#BAC2DE";
};
bright = {
black = "#585B70";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#A6ADC8";
};
dim = {
black = "#45475A";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#BAC2DE";
};
indexed_colors = [
{
index = 16;
color = "#FAB387";
}
{
index = 17;
color = "#F5E0DC";
}
];
};
};
};
}