2022-05-04 00:32:47 +00:00
|
|
|
{ config, pkgs, identity, gui, ... }: {
|
2022-04-29 01:40:21 +00:00
|
|
|
|
2022-04-30 16:07:58 +00:00
|
|
|
home-manager.users.${identity.user} = {
|
2022-04-30 02:29:50 +00:00
|
|
|
xsession.windowManager.i3.config.terminal = "alacritty";
|
2022-04-29 01:40:21 +00:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
window = {
|
|
|
|
dimensions = {
|
|
|
|
columns = 85;
|
|
|
|
lines = 30;
|
|
|
|
};
|
|
|
|
padding = {
|
|
|
|
x = 20;
|
|
|
|
y = 20;
|
|
|
|
};
|
2022-05-04 00:32:47 +00:00
|
|
|
opacity = config.theme.opacity;
|
2022-04-28 22:55:15 +00:00
|
|
|
};
|
2022-04-29 01:40:21 +00:00
|
|
|
scrolling.history = 10000;
|
|
|
|
font = {
|
|
|
|
size = 14.0;
|
2022-04-30 16:07:58 +00:00
|
|
|
normal = { family = gui.font.name; };
|
2022-04-28 22:55:15 +00:00
|
|
|
};
|
2022-04-29 01:40:21 +00:00
|
|
|
key_bindings = [
|
|
|
|
{
|
|
|
|
key = "L";
|
|
|
|
mods = "Control|Shift";
|
|
|
|
chars = "\\x1F";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "K";
|
|
|
|
mods = "Control";
|
|
|
|
mode = "~Vi";
|
|
|
|
action = "ToggleViMode";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "Return";
|
|
|
|
mode = "Vi";
|
|
|
|
action = "ToggleViMode";
|
|
|
|
}
|
|
|
|
];
|
2022-05-04 00:32:47 +00:00
|
|
|
colors = config.theme.colors;
|
|
|
|
# colors = {
|
|
|
|
# primary = {
|
|
|
|
# background = "#282828";
|
|
|
|
# foreground = "#d5c4a1";
|
|
|
|
# };
|
|
|
|
# cursor = {
|
|
|
|
# text = "#1d2021";
|
|
|
|
# cursor = "#d5c4a1";
|
|
|
|
# };
|
|
|
|
# normal = {
|
|
|
|
# black = "#1d2021";
|
|
|
|
# red = "#fb4934";
|
|
|
|
# green = "#b8bb26";
|
|
|
|
# yellow = "#fabd2f";
|
|
|
|
# blue = "#83a598";
|
|
|
|
# magenta = "#d3869b";
|
|
|
|
# cyan = "#8ec07c";
|
|
|
|
# white = "#d5c4a1";
|
|
|
|
# };
|
|
|
|
# bright = {
|
|
|
|
# black = "#665c54";
|
|
|
|
# red = "#fe8019";
|
|
|
|
# green = "#3c3836";
|
|
|
|
# yellow = "#504945";
|
|
|
|
# blue = "#bdae93";
|
|
|
|
# magenta = "#ebdbb2";
|
|
|
|
# cyan = "#d65d0e";
|
|
|
|
# white = "#fbf1c7";
|
|
|
|
# };
|
|
|
|
# };
|
2022-04-29 01:40:21 +00:00
|
|
|
draw_bold_text_with_bright_colors = false;
|
2022-04-28 22:55:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|