From 3620ba24842ed13d04fee3083c19ed3ebf2536c3 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Mon, 21 Dec 2020 14:10:22 +0000 Subject: [PATCH] Add Kitty module --- default.nix | 1 + modules/kitty.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 modules/kitty.nix diff --git a/default.nix b/default.nix index bccae1d..3865a81 100644 --- a/default.nix +++ b/default.nix @@ -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 diff --git a/modules/kitty.nix b/modules/kitty.nix new file mode 100644 index 0000000..4b059e0 --- /dev/null +++ b/modules/kitty.nix @@ -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; + }; + }; + }; +}