Change terminal from `alacritty` to `kitty`

This commit is contained in:
Riley Apeldoorn 2022-05-15 21:01:45 +02:00
parent a66aaef42e
commit fc7ff7f450
3 changed files with 30 additions and 33 deletions

View File

@ -20,7 +20,7 @@
enable = true; enable = true;
defaultFonts = { defaultFonts = {
monospace = [ monospace = [
"Fira Mono" "Fira Code"
"Source Code Pro" "Source Code Pro"
"Noto Color Emoji" "Noto Color Emoji"
]; ];

View File

@ -2,44 +2,41 @@
with lib; (mkIf config.riley.gui { with lib; (mkIf config.riley.gui {
home-manager.users."riley" = { home-manager.users."riley" = {
programs.alacritty = {
# Kitty lets me use cool ligatures
programs.kitty = {
enable = true; enable = true;
settings = {
window.padding = { x = 8; y = 8; }; font = {
name = "Fira Code Medium";
size = 11;
};
font = { settings = with config.riley.theme.hex; {
normal = { family = "Fira Code"; style = "Regular"; };
bold = { family = "Fira Code"; style = "Medium"; };
};
colors = with config.riley.theme.hex; { background = background.primary;
foreground = foreground.primary;
primary = { color1 = red.normal;
background = background.primary; color9 = red.bright;
foreground = foreground.primary;
};
normal = { color2 = green.normal;
red = red.normal; color10 = green.bright;
green = green.normal;
blue = blue.normal;
magenta = purple.normal;
yellow = yellow.normal;
cyan = cyan.normal;
};
bright = { color3 = yellow.normal;
red = red.bright; color11 = yellow.bright;
green = green.bright;
blue = blue.bright; color4 = blue.normal;
magenta = purple.bright; color12 = blue.bright;
yellow = yellow.bright;
cyan = cyan.bright; color5 = purple.normal;
}; color13 = purple.bright;
};
}; color6 = cyan.normal;
color14 = cyan.bright;
};
};
};
}; };
}) })

View File

@ -3,7 +3,7 @@
let scripts = (import ./scripts.nix { inherit pkgs; }); let scripts = (import ./scripts.nix { inherit pkgs; });
theme = config.riley.theme.hex; theme = config.riley.theme.hex;
modifier = "Mod4"; modifier = "Mod4";
terminal = "${pkgs.alacritty}/bin/alacritty"; terminal = "${pkgs.kitty}/bin/kitty";
keybindings = (import ./keybinds.nix { keybindings = (import ./keybinds.nix {
inherit modifier lib pkgs config scripts; inherit modifier lib pkgs config scripts;