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;
defaultFonts = {
monospace = [
"Fira Mono"
"Fira Code"
"Source Code Pro"
"Noto Color Emoji"
];

View file

@ -2,44 +2,41 @@
with lib; (mkIf config.riley.gui {
home-manager.users."riley" = {
programs.alacritty = {
# Kitty lets me use cool ligatures
programs.kitty = {
enable = true;
settings = {
window.padding = { x = 8; y = 8; };
font = {
name = "Fira Code Medium";
size = 11;
};
font = {
normal = { family = "Fira Code"; style = "Regular"; };
bold = { family = "Fira Code"; style = "Medium"; };
};
settings = with config.riley.theme.hex; {
colors = with config.riley.theme.hex; {
background = background.primary;
foreground = foreground.primary;
primary = {
background = background.primary;
foreground = foreground.primary;
};
color1 = red.normal;
color9 = red.bright;
normal = {
red = red.normal;
green = green.normal;
blue = blue.normal;
magenta = purple.normal;
yellow = yellow.normal;
cyan = cyan.normal;
};
color2 = green.normal;
color10 = green.bright;
bright = {
red = red.bright;
green = green.bright;
blue = blue.bright;
magenta = purple.bright;
yellow = yellow.bright;
cyan = cyan.bright;
};
};
};
color3 = yellow.normal;
color11 = yellow.bright;
color4 = blue.normal;
color12 = blue.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; });
theme = config.riley.theme.hex;
modifier = "Mod4";
terminal = "${pkgs.alacritty}/bin/alacritty";
terminal = "${pkgs.kitty}/bin/kitty";
keybindings = (import ./keybinds.nix {
inherit modifier lib pkgs config scripts;