2023-01-09 13:00:09 +01:00
|
|
|
{ config, pkgs, nix-colors, ... }:
|
2022-12-19 17:06:01 +01:00
|
|
|
{
|
2023-01-01 23:38:44 +01:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
env = {
|
|
|
|
TERM = "xterm-256color";
|
|
|
|
};
|
|
|
|
font = {
|
2023-01-20 12:23:05 +01:00
|
|
|
size = 10;
|
2023-01-01 23:38:44 +01:00
|
|
|
};
|
|
|
|
shell.program = "${pkgs.zsh}/bin/zsh";
|
|
|
|
window.opacity = 0.7;
|
|
|
|
|
|
|
|
colors = {
|
|
|
|
primary = {
|
2023-01-09 13:00:09 +01:00
|
|
|
background = "#${config.colorScheme.colors.base00}";
|
|
|
|
foreground = "#${config.colorScheme.colors.base05}";
|
2023-01-01 23:38:44 +01:00
|
|
|
};
|
|
|
|
cursor = {
|
|
|
|
text = "CellBackground";
|
|
|
|
cursor = "CellForeground";
|
|
|
|
};
|
|
|
|
vi_mode_cursor = {
|
|
|
|
text = "CellBackground";
|
|
|
|
cursor = "CellForeground";
|
|
|
|
};
|
|
|
|
selection = {
|
|
|
|
text = "CellForeground";
|
2023-01-09 13:00:09 +01:00
|
|
|
background = "#${config.colorScheme.colors.base03}";
|
2023-01-01 23:38:44 +01:00
|
|
|
};
|
|
|
|
normal = {
|
2023-01-09 13:00:09 +01:00
|
|
|
black = "#${config.colorScheme.colors.base01}";
|
|
|
|
red = "#${config.colorScheme.colors.base08}";
|
|
|
|
green = "#${config.colorScheme.colors.base0A}";
|
|
|
|
yellow = "#${config.colorScheme.colors.base0B}";
|
|
|
|
blue = "#${config.colorScheme.colors.base0D}";
|
|
|
|
magenta = "#${config.colorScheme.colors.base0E}";
|
|
|
|
cyan = "#${config.colorScheme.colors.base0C}";
|
|
|
|
white = "#${config.colorScheme.colors.base05}";
|
2023-01-01 23:38:44 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-12-19 17:06:01 +01:00
|
|
|
}
|