1
0
Fork 0

Add kitty

This commit is contained in:
Daniel Kempkens 2021-12-12 19:19:44 +01:00
parent 48341a3cd2
commit 1a0e78a8fe
5 changed files with 119 additions and 0 deletions

6
config/kitty.nix Normal file
View file

@ -0,0 +1,6 @@
{
xdg.configFile.kitty = {
source = ./kitty;
recursive = true;
};
}

19
config/kitty/diff.conf Normal file
View file

@ -0,0 +1,19 @@
foreground #f8f8f2
background #282a36
title_fg #f8f8f2
title_bg #282a36
margin_bg #6272a4
margin_fg #44475a
removed_bg #ff5555
highlight_removed_bg #ff5555
removed_margin_bg #ff5555
added_bg #50fa7b
highlight_added_bg #50fa7b
added_margin_bg #50fa7b
filler_bg #44475a
hunk_margin_bg #44475a
hunk_bg #bd93f9
search_bg #8be9fd
search_fg #282a36
select_bg #f1fa8c
select_fg #282a36

62
config/kitty/dracula.conf Normal file
View file

@ -0,0 +1,62 @@
# https://draculatheme.com/kitty
#
# Installation instructions:
#
# cp dracula.conf ~/.config/kitty/
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
#
# Then reload kitty for the config to take affect.
# Alternatively copy paste below directly into kitty.conf
foreground #f8f8f2
background #282a36
selection_foreground #ffffff
selection_background #44475a
url_color #8be9fd
# black
color0 #21222c
color8 #6272a4
# red
color1 #ff5555
color9 #ff6e6e
# green
color2 #50fa7b
color10 #69ff94
# yellow
color3 #f1fa8c
color11 #ffffa5
# blue
color4 #bd93f9
color12 #d6acff
# magenta
color5 #ff79c6
color13 #ff92df
# cyan
color6 #8be9fd
color14 #a4ffff
# white
color7 #f8f8f2
color15 #ffffff
# Cursor colors
cursor #f8f8f2
cursor_text_color background
# Tab bar colors
active_tab_foreground #282a36
active_tab_background #f8f8f2
inactive_tab_foreground #282a36
inactive_tab_background #6272a4
# Marks
mark1_foreground #282a36
mark1_background #ff5555

31
config/kitty/kitty.conf Normal file
View file

@ -0,0 +1,31 @@
shell /Users/daniel/.nix-profile/bin/fish --interactive
# Fonts
font_family JetBrainsMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 13.0
# Theme
include dracula.conf
window_padding_width 3
tab_bar_style powerline
tab_powerline_style slanted
macos_titlebar_color background
macos_traditional_fullscreen yes
macos_show_window_title_in window
# Keymap
kitty_mod cmd
# Cursor
cursor_blink_interval 0
# Bell
enable_audio_bell no
visual_bell_duration 0.0

View file

@ -4,6 +4,7 @@
imports = [ imports = [
./programs/fish.nix ./programs/fish.nix
./programs/starship.nix ./programs/starship.nix
./config/kitty.nix
./programs/nvim ./programs/nvim