From 95bfdc0c925ea2f786b4796633a926bce21edfbb Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Wed, 14 Jun 2023 16:14:29 +0200 Subject: [PATCH] kitty --- home-manager/kitty.nix | 7 +++ home-manager/nvim.nix | 3 -- package-configs/kitty/kitty.conf | 14 ++++++ .../kitty/kitty.d/my_theme.conf.bak | 47 +++++++++++++++++ package-configs/kitty/kitty.d/theme.conf.bak | 29 +++++++++++ .../kitty/kitty.d/tokyonight_night.conf | 50 +++++++++++++++++++ 6 files changed, 147 insertions(+), 3 deletions(-) create mode 100644 home-manager/kitty.nix create mode 100644 package-configs/kitty/kitty.conf create mode 100644 package-configs/kitty/kitty.d/my_theme.conf.bak create mode 100644 package-configs/kitty/kitty.d/theme.conf.bak create mode 100644 package-configs/kitty/kitty.d/tokyonight_night.conf diff --git a/home-manager/kitty.nix b/home-manager/kitty.nix new file mode 100644 index 0000000..f8b95b2 --- /dev/null +++ b/home-manager/kitty.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: +{ + home.file."./.config/kitty/" = { + source = ../package-configs/kitty; + recursive = true; + }; +} diff --git a/home-manager/nvim.nix b/home-manager/nvim.nix index 103f7ef..313a4d6 100644 --- a/home-manager/nvim.nix +++ b/home-manager/nvim.nix @@ -8,9 +8,6 @@ defaultEditor = true; extraConfig = ":luafile ~/.config/nvim/init.lua"; - plugins = with pkgs.vimPlugins; [ - - ]; extraPackages = with pkgs; [ gcc vimPlugins.packer-nvim diff --git a/package-configs/kitty/kitty.conf b/package-configs/kitty/kitty.conf new file mode 100644 index 0000000..b27ee11 --- /dev/null +++ b/package-configs/kitty/kitty.conf @@ -0,0 +1,14 @@ +globinclude kitty.d/**/*.conf +envinclude KITTY_CONF_* + +background_opacity 0.9 +enable_audio_bell no + +map f9 close_other_windows_in_tab + +font_family JetBrains Mono Regular Nerd Font Complete Mono +bold_font JetBrains Mono Bold Nerd Font Complete Mono +italic_font JetBrains Mono Italic Nerd Font Complete Mono +bold_italic_font JetBrains Mono Bold Italic Nerd Font Complete Mono + +font_size 12.0 diff --git a/package-configs/kitty/kitty.d/my_theme.conf.bak b/package-configs/kitty/kitty.d/my_theme.conf.bak new file mode 100644 index 0000000..cda2df9 --- /dev/null +++ b/package-configs/kitty/kitty.d/my_theme.conf.bak @@ -0,0 +1,47 @@ +background #0b092c +foreground #e4e4ea + +cursor #fc8483 +cursor_text_color #fcfdfc +selection_foreground #403e41 +selection_background #fcfcfa + +# dull black +color0 #151337 +# light black +color8 #727072 + +# dull red +color1 #ff6188 +# light red +color9 #ff6188 + +# dull green +color2 #a9dc76 +# light green +color10 #a9dc76 + +# yellow +color3 #ffd866 +# light yellow +color11 #ffd866 + +# blue +color4 #fc9867 +# light blue +color12 #fc9867 + +# magenta +color5 #ab9df2 +# light magenta +color13 #ab9df2 + +# cyan +color6 #78dce8 +# light cyan +color14 #78dce8 + +# dull white +color7 #fcfcfa +# bright white +color15 #fcfcfa diff --git a/package-configs/kitty/kitty.d/theme.conf.bak b/package-configs/kitty/kitty.d/theme.conf.bak new file mode 100644 index 0000000..f0fca77 --- /dev/null +++ b/package-configs/kitty/kitty.d/theme.conf.bak @@ -0,0 +1,29 @@ +# 1984 theme by Bertie Blackman, https://github.com/covertbert/iterm2-1984/ + +foreground #ffffff +background #0d0f31 +selection_foreground #000000 +selection_background #00d5eb +color0 #000000 +color1 #ff16b0 +color2 #b3f361 +color3 #ffea16 +color4 #46bdff +color5 #f806fa +color6 #59e1e3 +color7 #feffff +color8 #000000 +color9 #ff16b0 +color10 #b3f361 +color11 #ffea16 +color12 #46bdff +color13 #f806fa +color14 #6be4e6 +color15 #feffff + +# URL styles +url_color #f806fa +url_style single + +# Cursor styles +cursor #59e1e3 diff --git a/package-configs/kitty/kitty.d/tokyonight_night.conf b/package-configs/kitty/kitty.d/tokyonight_night.conf new file mode 100644 index 0000000..d7dce44 --- /dev/null +++ b/package-configs/kitty/kitty.d/tokyonight_night.conf @@ -0,0 +1,50 @@ +# vim:ft=kitty + +## name: Tokyo Night +## license: MIT +## author: Folke Lemaitre +## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf + + +background #1a1b26 +foreground #c0caf5 +selection_background #33467c +selection_foreground #c0caf5 +url_color #73daca +cursor #c0caf5 +cursor_text_color #1a1b26 + +# Tabs +active_tab_background #7aa2f7 +active_tab_foreground #16161e +inactive_tab_background #292e42 +inactive_tab_foreground #545c7e +#tab_bar_background #15161e + +# Windows +active_border_color #7aa2f7 +inactive_border_color #292e42 + +# normal +color0 #15161e +color1 #f7768e +color2 #9ece6a +color3 #e0af68 +color4 #7aa2f7 +color5 #bb9af7 +color6 #7dcfff +color7 #a9b1d6 + +# bright +color8 #414868 +color9 #f7768e +color10 #9ece6a +color11 #e0af68 +color12 #7aa2f7 +color13 #bb9af7 +color14 #7dcfff +color15 #c0caf5 + +# extended colors +color16 #ff9e64 +color17 #db4b4b