2021-06-14 12:57:39 +04:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
defaultApplications.term = {
|
|
|
|
cmd = "${pkgs.alacritty}/bin/alacritty";
|
|
|
|
desktop = "alacritty";
|
|
|
|
};
|
2020-08-04 16:11:45 +04:00
|
|
|
home-manager.users.balsoft.programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
|
|
|
|
font = rec {
|
2021-06-10 19:58:51 +04:00
|
|
|
normal.family = config.themes.fonts.mono.family;
|
|
|
|
size = config.themes.fonts.mono.size;
|
2020-08-04 16:11:45 +04:00
|
|
|
bold = { style = "Bold"; };
|
|
|
|
};
|
|
|
|
|
|
|
|
window.padding = {
|
|
|
|
x = 2;
|
|
|
|
y = 2;
|
|
|
|
};
|
|
|
|
|
|
|
|
shell.program = "${pkgs.zsh}/bin/zsh";
|
|
|
|
|
|
|
|
cursor.style = "Beam";
|
|
|
|
|
2021-12-23 22:23:03 +04:00
|
|
|
colors = with pkgs.my-lib.thmHash config.themes.colors; {
|
2020-08-04 16:11:45 +04:00
|
|
|
primary = {
|
2021-06-10 19:58:51 +04:00
|
|
|
background = base00;
|
|
|
|
foreground = base05;
|
2020-08-04 16:11:45 +04:00
|
|
|
};
|
|
|
|
cursor = {
|
2021-06-10 19:58:51 +04:00
|
|
|
text = base02;
|
2022-02-03 02:36:37 +04:00
|
|
|
cursor = base05;
|
2020-08-04 16:11:45 +04:00
|
|
|
};
|
|
|
|
normal = {
|
2021-06-10 19:58:51 +04:00
|
|
|
black = base00;
|
|
|
|
red = base08;
|
|
|
|
green = base0B;
|
|
|
|
yellow = base0A;
|
|
|
|
blue = base0D;
|
|
|
|
magenta = base0E;
|
|
|
|
white = base07;
|
2020-08-04 16:11:45 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|