This commit is contained in:
Henry Sipp
2025-06-28 13:00:42 -05:00
parent 4355bb6607
commit cd4e9e7c0d
9 changed files with 72 additions and 219 deletions
+2 -143
View File
@@ -13,25 +13,13 @@ in {
# Window settings
window = {
padding = {
x = 10;
y = 10;
x = 14;
y = 14;
};
dynamic_padding = true;
decorations = "none";
opacity = 0.95;
blur = true;
startup_mode = "Windowed";
title = "Alacritty";
dynamic_title = true;
};
# Scrolling
scrolling = {
history = 10000;
multiplier = 3;
};
# Font configuration
font = {
normal = {
family = cfg.primary_font;
@@ -77,135 +65,6 @@ in {
selection.background = theme.primary;
};
# // (
# if theme ? orange
# then {
# indexed_colors =
# [
# {
# index = 16;
# color = theme.orange;
# }
# ]
# ++ (
# if theme ? rosewater
# then [
# {
# index = 17;
# color = theme.rosewater;
# }
# ]
# else []
# )
# ++ (
# if theme ? peach
# then [
# {
# index = 18;
# color = theme.peach;
# }
# ]
# else []
# );
# }
# else {}
# );
# Bell
bell = {
animation = "EaseOutExpo";
duration = 0;
color = theme.warning;
};
# Mouse
mouse = {
hide_when_typing = true;
bindings = [
{
mouse = "Middle";
action = "PasteSelection";
}
];
};
# Key bindings
keyboard.bindings = [
# Copy/Paste
{
key = "C";
mods = "Control|Shift";
action = "Copy";
}
{
key = "V";
mods = "Control|Shift";
action = "Paste";
}
# Search
{
key = "F";
mods = "Control|Shift";
action = "SearchForward";
}
{
key = "B";
mods = "Control|Shift";
action = "SearchBackward";
}
# Font size
{
key = "Plus";
mods = "Control";
action = "IncreaseFontSize";
}
{
key = "Minus";
mods = "Control";
action = "DecreaseFontSize";
}
{
key = "Key0";
mods = "Control";
action = "ResetFontSize";
}
# New window
{
key = "Return";
mods = "Control|Shift";
action = "SpawnNewInstance";
}
];
# Cursor
cursor = {
style = {
shape = "Block";
blinking = "Off";
};
unfocused_hollow = true;
thickness = 0.15;
};
# Live config reload
general.live_config_reload = true;
# Shell
terminal.shell = {
program = "${pkgs.zsh}/bin/zsh";
args = ["--login"];
};
# Working directory
working_directory = "None";
# Debug
debug = {
render_timer = false;
persistent_logging = false;
log_level = "Warn";
print_events = false;
};
};
};
}