2022-06-21 01:47:36 +02:00
|
|
|
{ pkgs, lib, config, ... }:
|
2022-03-07 16:01:52 +01:00
|
|
|
{
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2022-08-16 03:25:29 +02:00
|
|
|
window = {
|
|
|
|
padding = { x = 15; y = 15; };
|
|
|
|
opacity = 1.0;
|
|
|
|
};
|
2022-03-07 16:01:52 +01:00
|
|
|
|
|
|
|
font = {
|
|
|
|
normal = {
|
|
|
|
family = "Fira Code";
|
|
|
|
style = "Retina";
|
|
|
|
};
|
|
|
|
bold.family = "Fira Code";
|
|
|
|
italic.family = "Fira Code";
|
|
|
|
size = 12.0;
|
|
|
|
};
|
|
|
|
|
|
|
|
colors =
|
|
|
|
let
|
|
|
|
inherit (lib.attrsets) getAttrs filterAttrs;
|
|
|
|
inherit (lib.lists) any;
|
|
|
|
primaryColors = [ "foreground" "background" ];
|
|
|
|
in
|
|
|
|
{
|
2022-06-21 01:47:36 +02:00
|
|
|
primary = getAttrs primaryColors config.colors.defaultColorSet;
|
2024-06-08 12:37:30 +02:00
|
|
|
normal = builtins.removeAttrs config.colors.defaultColorSet (primaryColors ++ [ "name" ]);
|
2022-03-07 16:01:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
cursor = {
|
2024-06-08 12:37:30 +02:00
|
|
|
style = {
|
|
|
|
shape = "Block";
|
|
|
|
blinking = "On";
|
|
|
|
};
|
2022-03-07 16:01:52 +01:00
|
|
|
unfocused_hollow = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
bell = {
|
|
|
|
animation = "EaseOutExpo";
|
|
|
|
color = "0xffffff";
|
|
|
|
duration = 20;
|
|
|
|
};
|
|
|
|
|
2024-11-18 14:26:43 +01:00
|
|
|
general.live_config_reload = true;
|
2022-03-07 16:01:52 +01:00
|
|
|
|
2024-11-18 14:26:43 +01:00
|
|
|
terminal.shell = {
|
2022-03-07 16:01:52 +01:00
|
|
|
program = "${pkgs.zsh}/bin/zsh";
|
|
|
|
args = [ "--login" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|