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;
};
settings = with config.riley.theme.hex; {
background = background.primary;
foreground = foreground.primary;
font = { color1 = red.normal;
normal = { family = "Fira Code"; style = "Regular"; }; color9 = red.bright;
bold = { family = "Fira Code"; style = "Medium"; };
};
colors = with config.riley.theme.hex; { color2 = green.normal;
color10 = green.bright;
primary = { color3 = yellow.normal;
background = background.primary; color11 = yellow.bright;
foreground = foreground.primary;
};
normal = { color4 = blue.normal;
red = red.normal; color12 = blue.bright;
green = green.normal;
blue = blue.normal;
magenta = purple.normal;
yellow = yellow.normal;
cyan = cyan.normal;
};
bright = { color5 = purple.normal;
red = red.bright; color13 = purple.bright;
green = green.bright;
blue = blue.bright;
magenta = purple.bright;
yellow = yellow.bright;
cyan = cyan.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;