Add Kitty
Friendship ended with ALACRITTY Now KITTY is my best friend
This commit is contained in:
parent
43c8224f5b
commit
69f948a469
9 changed files with 2683 additions and 6 deletions
|
@ -93,11 +93,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1696604326,
|
||||
"narHash": "sha256-YXUNI0kLEcI5g8lqGMb0nh67fY9f2YoJsILafh6zlMo=",
|
||||
"lastModified": 1696879762,
|
||||
"narHash": "sha256-Ud6bH4DMcYHUDKavNMxAhcIpDGgHMyL/yaDEAVSImQY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "87828a0e03d1418e848d3dd3f3014a632e4a4f64",
|
||||
"rev": "f99e5f03cc0aa231ab5950a15ed02afec45ed51a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./alacritty
|
||||
./firefox
|
||||
./kitty
|
||||
./steam
|
||||
./thunderbird
|
||||
# ./virtualbox
|
||||
|
|
15
nixos/modules/apps/kitty/default.nix
Normal file
15
nixos/modules/apps/kitty/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ inputs, lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.tdpeuter = { pkgs, ... }: {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
kitty
|
||||
];
|
||||
|
||||
file = {
|
||||
".config/kitty".source = ../../../../stow/kitty/.config/kitty;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
programs.vim = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
colorscheme catppuccin_mocha_mod
|
||||
colorscheme tdpeuter-dark
|
||||
|
||||
" Tags
|
||||
" pacman -S ctags
|
||||
|
@ -47,6 +47,11 @@
|
|||
if $TERM == 'alacritty'
|
||||
set ttymouse=sgr " Alacritty specific
|
||||
endif
|
||||
if $TERM == 'xterm-kitty'
|
||||
" Fix <HOME> and <END> not working
|
||||
set term=xterm-256color
|
||||
endif
|
||||
|
||||
if has("autocmd")
|
||||
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
" https://stackoverflow.com/a/37558470/19044747
|
||||
|
|
2365
stow/kitty/.config/kitty/kitty.conf
Normal file
2365
stow/kitty/.config/kitty/kitty.conf
Normal file
File diff suppressed because it is too large
Load diff
39
stow/kitty/.config/kitty/themes/tdpeuter-dark.conf
Normal file
39
stow/kitty/.config/kitty/themes/tdpeuter-dark.conf
Normal file
|
@ -0,0 +1,39 @@
|
|||
foreground #dcdfe4
|
||||
background #171717
|
||||
selection_foreground #000000
|
||||
selection_background #FFFACD
|
||||
url_color #0087BD
|
||||
|
||||
# black
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
|
||||
# red
|
||||
color1 #C86564
|
||||
color9 #C86564
|
||||
|
||||
# green
|
||||
color2 #B2BC68
|
||||
color10 #B2BC68
|
||||
|
||||
# yellow
|
||||
color3 #f7e03f
|
||||
color11 #f7e03f
|
||||
|
||||
# blue
|
||||
color4 #80A2BE
|
||||
color12 #80A2BE
|
||||
|
||||
# magenta
|
||||
color5 #b294bb
|
||||
color13 #b294bb
|
||||
|
||||
# cyan
|
||||
# color6 #60C7CE
|
||||
# color14 #60C7CE
|
||||
color6 #8ABEB7
|
||||
color14 #8ABEB7
|
||||
|
||||
# white
|
||||
color7 #ffffff
|
||||
color15 #ffffff
|
37
stow/kitty/.config/kitty/themes/tdpeuter-light.conf
Normal file
37
stow/kitty/.config/kitty/themes/tdpeuter-light.conf
Normal file
|
@ -0,0 +1,37 @@
|
|||
foreground #383A42
|
||||
background #FAFAFA
|
||||
selection_foreground #383A42
|
||||
selection_background #BFCEFF
|
||||
url_color #F0F0F0
|
||||
|
||||
# black
|
||||
color0 #383A42
|
||||
color8 #383A42
|
||||
|
||||
# red
|
||||
color1 #E45649
|
||||
color9 #E45649
|
||||
|
||||
# green
|
||||
color2 #40A14F
|
||||
color10 #40A14F
|
||||
|
||||
# yellow
|
||||
color3 #C18401
|
||||
color11 #C18401
|
||||
|
||||
# blue
|
||||
color4 #0184BC
|
||||
color12 #0184BC
|
||||
|
||||
# magenta
|
||||
color5 #A626A4
|
||||
color13 #A626A4
|
||||
|
||||
# cyan
|
||||
color6 #0997B3
|
||||
color14 #0997B3
|
||||
|
||||
# white
|
||||
color7 #FAFAFA
|
||||
color15 #FAFAFA
|
|
@ -1,4 +1,4 @@
|
|||
" Name: catppuccin_mocha.vim
|
||||
" Name: tdpeuter-dark.vim
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
|
@ -7,7 +7,8 @@ if exists('syntax on')
|
|||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name='catppuccin_mocha_mod'
|
||||
let g:colors_name="tdpeuter-dark"
|
||||
let colors_name="tdpeuter-dark"
|
||||
set t_Co=256
|
||||
set cursorline
|
||||
|
214
stow/vim/.vim/colors/tdpeuter-light.vim
Normal file
214
stow/vim/.vim/colors/tdpeuter-light.vim
Normal file
|
@ -0,0 +1,214 @@
|
|||
" Name: tdpeuter-light.vim
|
||||
|
||||
set background=light
|
||||
highlight clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name="tdpeuter-light"
|
||||
let colors_name="tdpeuter-light"
|
||||
|
||||
let s:black = { "gui": "#383a42", "cterm": "237" }
|
||||
let s:red = { "gui": "#e45649", "cterm": "167" }
|
||||
let s:green = { "gui": "#50a14f", "cterm": "71" }
|
||||
let s:yellow = { "gui": "#c18401", "cterm": "136" }
|
||||
let s:blue = { "gui": "#0184bc", "cterm": "31" }
|
||||
let s:purple = { "gui": "#a626a4", "cterm": "127" }
|
||||
let s:cyan = { "gui": "#0997b3", "cterm": "31" }
|
||||
let s:white = { "gui": "#fafafa", "cterm": "231" }
|
||||
|
||||
let s:fg = s:black
|
||||
let s:bg = s:white
|
||||
|
||||
let s:comment_fg = { "gui": "#a0a1a7", "cterm": "247" }
|
||||
let s:gutter_bg = { "gui": "#fafafa", "cterm": "231" }
|
||||
let s:gutter_fg = { "gui": "#d4d4d4", "cterm": "252" }
|
||||
let s:non_text = { "gui": "#e5e5e5", "cterm": "252" }
|
||||
|
||||
let s:cursor_line = { "gui": "#f0f0f0", "cterm": "255" }
|
||||
let s:color_col = { "gui": "#f0f0f0", "cterm": "255" }
|
||||
|
||||
let s:selection = { "gui": "#bfceff", "cterm": "153" }
|
||||
let s:vertsplit = { "gui": "#f0f0f0", "cterm": "255" }
|
||||
|
||||
|
||||
function! s:h(group, fg, bg, attr)
|
||||
if type(a:fg) == type({})
|
||||
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm
|
||||
else
|
||||
exec "hi " . a:group . " guifg=NONE cterm=NONE"
|
||||
endif
|
||||
if type(a:bg) == type({})
|
||||
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm
|
||||
else
|
||||
exec "hi " . a:group . " guibg=NONE ctermbg=NONE"
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
else
|
||||
exec "hi " . a:group . " gui=NONE cterm=NONE"
|
||||
endif
|
||||
endfun
|
||||
|
||||
|
||||
" User interface colors {
|
||||
call s:h("Normal", s:fg, s:bg, "")
|
||||
|
||||
call s:h("Cursor", s:bg, s:blue, "")
|
||||
call s:h("CursorColumn", "", s:cursor_line, "")
|
||||
call s:h("CursorLine", "", s:cursor_line, "")
|
||||
|
||||
call s:h("LineNr", s:gutter_fg, s:gutter_bg, "")
|
||||
call s:h("CursorLineNr", s:fg, "", "")
|
||||
|
||||
call s:h("DiffAdd", s:green, "", "")
|
||||
call s:h("DiffChange", s:yellow, "", "")
|
||||
call s:h("DiffDelete", s:red, "", "")
|
||||
call s:h("DiffText", s:blue, "", "")
|
||||
|
||||
call s:h("IncSearch", s:bg, s:yellow, "")
|
||||
call s:h("Search", s:bg, s:yellow, "")
|
||||
|
||||
call s:h("ErrorMsg", s:fg, "", "")
|
||||
call s:h("ModeMsg", s:fg, "", "")
|
||||
call s:h("MoreMsg", s:fg, "", "")
|
||||
call s:h("WarningMsg", s:red, "", "")
|
||||
call s:h("Question", s:purple, "", "")
|
||||
|
||||
call s:h("Pmenu", s:fg, s:cursor_line, "")
|
||||
call s:h("PmenuSel", s:bg, s:blue, "")
|
||||
call s:h("PmenuSbar", "", s:cursor_line, "")
|
||||
call s:h("PmenuThumb", "", s:comment_fg, "")
|
||||
|
||||
call s:h("SpellBad", s:red, "", "")
|
||||
call s:h("SpellCap", s:yellow, "", "")
|
||||
call s:h("SpellLocal", s:yellow, "", "")
|
||||
call s:h("SpellRare", s:yellow, "", "")
|
||||
|
||||
call s:h("StatusLine", s:blue, s:cursor_line, "")
|
||||
call s:h("StatusLineNC", s:comment_fg, s:cursor_line, "")
|
||||
call s:h("TabLine", s:comment_fg, s:cursor_line, "")
|
||||
call s:h("TabLineFill", s:comment_fg, s:cursor_line, "")
|
||||
call s:h("TabLineSel", s:fg, s:bg, "")
|
||||
|
||||
call s:h("Visual", "", s:selection, "")
|
||||
call s:h("VisualNOS", "", s:selection, "")
|
||||
|
||||
call s:h("ColorColumn", "", s:color_col, "")
|
||||
call s:h("Conceal", s:fg, "", "")
|
||||
call s:h("Directory", s:blue, "", "")
|
||||
call s:h("VertSplit", s:vertsplit, s:vertsplit, "")
|
||||
call s:h("Folded", s:fg, "", "")
|
||||
call s:h("FoldColumn", s:fg, "", "")
|
||||
call s:h("SignColumn", s:fg, "", "")
|
||||
|
||||
call s:h("MatchParen", s:blue, "", "underline")
|
||||
call s:h("SpecialKey", s:fg, "", "")
|
||||
call s:h("Title", s:green, "", "")
|
||||
call s:h("WildMenu", s:fg, "", "")
|
||||
" }
|
||||
|
||||
|
||||
" Syntax colors {
|
||||
" Whitespace is defined in Neovim, not Vim.
|
||||
" See :help hl-Whitespace and :help hl-SpecialKey
|
||||
call s:h("Whitespace", s:non_text, "", "")
|
||||
call s:h("NonText", s:non_text, "", "")
|
||||
call s:h("Comment", s:comment_fg, "", "italic")
|
||||
call s:h("Constant", s:cyan, "", "")
|
||||
call s:h("String", s:green, "", "")
|
||||
call s:h("Character", s:green, "", "")
|
||||
call s:h("Number", s:yellow, "", "")
|
||||
call s:h("Boolean", s:yellow, "", "")
|
||||
call s:h("Float", s:yellow, "", "")
|
||||
|
||||
call s:h("Identifier", s:red, "", "")
|
||||
call s:h("Function", s:blue, "", "")
|
||||
call s:h("Statement", s:purple, "", "")
|
||||
|
||||
call s:h("Conditional", s:purple, "", "")
|
||||
call s:h("Repeat", s:purple, "", "")
|
||||
call s:h("Label", s:purple, "", "")
|
||||
call s:h("Operator", s:fg, "", "")
|
||||
call s:h("Keyword", s:red, "", "")
|
||||
call s:h("Exception", s:purple, "", "")
|
||||
|
||||
call s:h("PreProc", s:yellow, "", "")
|
||||
call s:h("Include", s:purple, "", "")
|
||||
call s:h("Define", s:purple, "", "")
|
||||
call s:h("Macro", s:purple, "", "")
|
||||
call s:h("PreCondit", s:yellow, "", "")
|
||||
|
||||
call s:h("Type", s:yellow, "", "")
|
||||
call s:h("StorageClass", s:yellow, "", "")
|
||||
call s:h("Structure", s:yellow, "", "")
|
||||
call s:h("Typedef", s:yellow, "", "")
|
||||
|
||||
call s:h("Special", s:blue, "", "")
|
||||
call s:h("SpecialChar", s:fg, "", "")
|
||||
call s:h("Tag", s:fg, "", "")
|
||||
call s:h("Delimiter", s:fg, "", "")
|
||||
call s:h("SpecialComment", s:fg, "", "")
|
||||
call s:h("Debug", s:fg, "", "")
|
||||
call s:h("Underlined", s:fg, "", "")
|
||||
call s:h("Ignore", s:fg, "", "")
|
||||
call s:h("Error", s:red, s:gutter_bg, "")
|
||||
call s:h("Todo", s:purple, "", "")
|
||||
" }
|
||||
|
||||
|
||||
" Plugins {
|
||||
" GitGutter
|
||||
call s:h("GitGutterAdd", s:green, s:gutter_bg, "")
|
||||
call s:h("GitGutterDelete", s:red, s:gutter_bg, "")
|
||||
call s:h("GitGutterChange", s:yellow, s:gutter_bg, "")
|
||||
call s:h("GitGutterChangeDelete", s:red, s:gutter_bg, "")
|
||||
" Fugitive
|
||||
call s:h("diffAdded", s:green, "", "")
|
||||
call s:h("diffRemoved", s:red, "", "")
|
||||
" }
|
||||
|
||||
|
||||
" Git {
|
||||
call s:h("gitcommitComment", s:comment_fg, "", "")
|
||||
call s:h("gitcommitUnmerged", s:red, "", "")
|
||||
call s:h("gitcommitOnBranch", s:fg, "", "")
|
||||
call s:h("gitcommitBranch", s:purple, "", "")
|
||||
call s:h("gitcommitDiscardedType", s:red, "", "")
|
||||
call s:h("gitcommitSelectedType", s:green, "", "")
|
||||
call s:h("gitcommitHeader", s:fg, "", "")
|
||||
call s:h("gitcommitUntrackedFile", s:cyan, "", "")
|
||||
call s:h("gitcommitDiscardedFile", s:red, "", "")
|
||||
call s:h("gitcommitSelectedFile", s:green, "", "")
|
||||
call s:h("gitcommitUnmergedFile", s:yellow, "", "")
|
||||
call s:h("gitcommitFile", s:fg, "", "")
|
||||
hi link gitcommitNoBranch gitcommitBranch
|
||||
hi link gitcommitUntracked gitcommitComment
|
||||
hi link gitcommitDiscarded gitcommitComment
|
||||
hi link gitcommitSelected gitcommitComment
|
||||
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
" }
|
||||
|
||||
" Fix colors in neovim terminal buffers {
|
||||
if has('nvim')
|
||||
let g:terminal_color_0 = s:black.gui
|
||||
let g:terminal_color_1 = s:red.gui
|
||||
let g:terminal_color_2 = s:green.gui
|
||||
let g:terminal_color_3 = s:yellow.gui
|
||||
let g:terminal_color_4 = s:blue.gui
|
||||
let g:terminal_color_5 = s:purple.gui
|
||||
let g:terminal_color_6 = s:cyan.gui
|
||||
let g:terminal_color_7 = s:white.gui
|
||||
let g:terminal_color_8 = s:black.gui
|
||||
let g:terminal_color_9 = s:red.gui
|
||||
let g:terminal_color_10 = s:green.gui
|
||||
let g:terminal_color_11 = s:yellow.gui
|
||||
let g:terminal_color_12 = s:blue.gui
|
||||
let g:terminal_color_13 = s:purple.gui
|
||||
let g:terminal_color_14 = s:cyan.gui
|
||||
let g:terminal_color_15 = s:white.gui
|
||||
let g:terminal_color_background = s:bg.gui
|
||||
let g:terminal_color_foreground = s:fg.gui
|
||||
endif
|
||||
" }
|
Loading…
Reference in a new issue