add kitty configs

This commit is contained in:
Simon Belmont 2025-03-24 12:53:22 -04:00
parent 52fcf7defe
commit fa132f5807
4 changed files with 215 additions and 0 deletions

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

View file

@ -0,0 +1,67 @@
# 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
background_opacity 0.5
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
# Splits/Windows
active_border_color #f8f8f2
inactive_border_color #6272a4

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

@ -0,0 +1,125 @@
# ┌───────────────────────────────────────────────────┐
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
# │ ██████╔╝█████╗ ██║ █████╗ ██████╔╝███████╗ │
# │ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ██╔══██╗╚════██║ │
# │ ██║ ███████╗ ██║ ███████╗██║ ██║███████║ │
# │ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ │
# ├───────────────────────────────────────────────────┤
# │ only small, mediocre thing: his kitty.conf file │
# ├───────────────────────────────────────────────────┤
# │Shorter than a default config, yet twice the autism│
# │---------------------------------------------------│
# │ https://git.peterdominguez.art/peter/.dotfiles │
# └───────────────────────────────────────────────────┘
# 1. Color Scheme
# ========================
include dracula.conf
# 2. Font
# ========================
font_family Droid Sans Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.5
# 3. Cursor
# ========================
cursor #d67fa2
cursor_shape underline
cursor_beam_thickness 9.0
shell_integration no-cursor
# 4. Mouse
# ========================
copy_on_select yes
url_style dotted
url_color #7fd67f
focus_follows_mouse yes
# 5. Terminal bell
# ========================
enable_audio_bell no
bell_on_tab "󰂞 "
# 6. Window layout
# ========================
window_border_width 1.2pt
enabled_layouts tall,fat,horizontal,splits,vertical,grid
active_border_color #6272a4
inactive_border_color #262733
# 7. Tab bar
# ========================
tab_bar_edge top
tab_bar_style powerline
tab_bar_background #343850
active_tab_background #ff79c6
active_tab_foreground #262733
inactive_tab_background #44475a
inactive_tab_foreground #f8f8f2
# 8. Advanced
# ========================
# startup_session ~/.config/kitty/session
allow_remote_control yes
repaint_delay 1
sync_to_monitor yes
# 9. OS specific tweaks
# ========================
linux_display_server wayland
# 10. Keyboard shortcuts
# ========================
map alt+h previous_tab
map alt+l next_tab
map alt+n new_tab
map alt+b set_tab_title
map alt+x close_tab
map ctrl+shift+k scroll_line_up
map ctrl+shift+j scroll_line_down
map alt+enter new_window
map alt+\ close_window
map ctrl+h previous_window
map ctrl+l next_window
map ctrl+[ layout_action decrease_num_full_size_windows
map ctrl+] layout_action increase_num_full_size_windows
map ctrl+/ layout_action mirror toggle
map ctrl+y layout_action mirror true
map ctrl+n layout_action mirror false
map ctrl+alt+t goto_layout tall
map ctrl+alt+f goto_layout fat
map ctrl+alt+h goto_layout horizontal
map ctrl+alt+s goto_layout splits
map ctrl+alt+v goto_layout vertical
map ctrl+alt+g goto_layout grid
map ctrl+alt+. move_tab_forward
map ctrl+alt+, move_tab_backward
map ctrl+f1 launch zsh -c "source ~/.zshrc;nnn -deUxH"
map ctrl+f2 launch newsboat
map ctrl+f3 launch kitty +kitten ssh debianbox
map ctrl+f4 launch kitty +kitten ssh debian11
map ctrl+f5 launch vim ~/.config/waybar/style.css
map ctrl+f6 launch vim ~/.config/waybar/config
map ctrl+f7 launch vim ~/.config/hypr/hyprland.conf
map ctrl+f8 launch vim ~/.zshrc
map ctrl+f9 launch vim ~/.config/kitty/session
map ctrl+f10 launch vim ~/.config/kitty/kitty.conf
map shift+alt+left resize_window narrower
map shift+alt+right resize_window wider
map shift+alt+up resize_window taller
map shift+alt+down resize_window shorter 3
map ctrl+alt+] next_window
map ctrl+alt+[ previous_window

4
.config/kitty/session Normal file
View file

@ -0,0 +1,4 @@
enabled_layouts vertical
launch kitty +kitten ssh debianbox
launch kitty +kitten ssh debbie
launch kitty +kitten ssh debian11