system/home/progs/alacritty/config.nix

36 lines
486 B
Nix
Raw Normal View History

{ fontSize ? 11.0 }:
{
window = {
padding = {
x = 5;
y = 5;
};
decorations = "none";
dynamic_title = true;
};
scrolling = {
history = 10000;
multiplier = 3;
};
2022-08-29 15:40:41 +03:00
font =
let
2022-09-21 08:08:52 +03:00
family = "monospace";
mkFont = style: { inherit family style; };
2022-08-29 15:40:41 +03:00
in
{
2022-09-21 08:08:52 +03:00
normal = mkFont "Regular";
bold = mkFont "Bold";
italic = mkFont "Italic";
bold_italic = mkFont "Bold Italic";
size = fontSize;
2022-08-29 15:40:41 +03:00
};
}