2023-11-07 06:39:10 +00:00
|
|
|
{
|
2024-03-17 00:27:24 +00:00
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) strings;
|
|
|
|
inherit (strings) toInt;
|
|
|
|
|
|
|
|
theme = import "${self}/lib/theme" {inherit pkgs;};
|
|
|
|
in {
|
2023-11-07 06:39:10 +00:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
window.opacity = 0.9;
|
|
|
|
|
|
|
|
window.padding = {
|
|
|
|
x = 15;
|
|
|
|
y = 15;
|
|
|
|
};
|
|
|
|
|
|
|
|
font = {
|
2024-03-17 00:27:24 +00:00
|
|
|
size = toInt "${theme.fonts.monospace.size}";
|
2023-11-07 06:39:10 +00:00
|
|
|
|
|
|
|
bold.style = "Regular";
|
2024-03-17 00:27:24 +00:00
|
|
|
normal.family = "${theme.fonts.monospace.name}";
|
2023-11-07 06:39:10 +00:00
|
|
|
|
|
|
|
offset.y = 12;
|
|
|
|
glyph_offset.y = 6;
|
|
|
|
};
|
|
|
|
|
2024-02-13 21:33:32 +00:00
|
|
|
shell = {program = "zsh";};
|
2023-11-07 06:39:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|