# ┌───────────────────────────────────────────────────┐
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
# │ ██████╔╝█████╗     ██║   █████╗  ██████╔╝███████╗ │
# │ ██╔═══╝ ██╔══╝     ██║   ██╔══╝  ██╔══██╗╚════██║ │
# │ ██║     ███████╗   ██║   ███████╗██║  ██║███████║ │
# │ ╚═╝     ╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝╚══════╝ │
# ├───────────────────────────────────────────────────┤
# │  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 13
symbol_map U+e000-U+e00a,U+ea60-U+ebeb,U+e0a0-U+e0c8,U+e0ca,U+e0cc-U+e0d7,U+e200-U+e2a9,U+e300-U+e3e3,U+e5fa-U+e6b7,U+e700-U+e8ef,U+ed00-U+efc1,U+f000-U+f2ff,U+f000-U+f2e0,U+f300-U+f381,U+f400-U+f533,U+f0001-U+f1af0 Symbols Nerd Font Mono

#  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
