Add Kitty module

This commit is contained in:
Daniel Thwaites 2020-12-21 14:10:22 +00:00
parent 70c3e4eedb
commit 3620ba2484
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D
2 changed files with 44 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./modules/console.nix
./modules/fish.nix
./modules/gtk.nix
./modules/kitty.nix
./modules/lightdm.nix
./modules/qutebrowser.nix
./modules/vim.nix

43
modules/kitty.nix Normal file
View file

@ -0,0 +1,43 @@
{ config, ... }:
{
stylix.homeModule = {
programs.kitty = {
font = config.stylix.fonts.monospace;
settings = with config.lib.stylix.colors; {
# Based on https://github.com/kdrag0n/base16-kitty/
active_border_color = base03-hex;
active_tab_background = base00-hex;
active_tab_foreground = base05-hex;
background = base00-hex;
cursor = base05-hex;
foreground = base05-hex;
inactive_border_color = base01-hex;
inactive_tab_background = base01-hex;
inactive_tab_foreground = base04-hex;
selection_background = base05-hex;
selection_foreground = base00-hex;
tab_bar_background = base01-hex;
url_color = base04-hex;
color0 = base00-hex;
color1 = base08-hex;
color2 = base0B-hex;
color3 = base0A-hex;
color4 = base0D-hex;
color5 = base0E-hex;
color6 = base0C-hex;
color7 = base05-hex;
color8 = base03-hex;
color9 = base09-hex;
color10 = base01-hex;
color11 = base02-hex;
color12 = base04-hex;
color13 = base06-hex;
color14 = base0F-hex;
color15 = base07-hex;
};
};
};
}