Skip to content

Instantly share code, notes, and snippets.

@JeanRibes
Last active July 14, 2023 14:36
Show Gist options
  • Save JeanRibes/4a4fa852bbb4f568b3ea6a7ee2ddcef1 to your computer and use it in GitHub Desktop.
Save JeanRibes/4a4fa852bbb4f568b3ea6a7ee2ddcef1 to your computer and use it in GitHub Desktop.
kitty config

configuration Kitty

télécharger via l'installateur, puis aller dans le dossier principal

xdg-desktop-menu install --novendor share/applications/kitty.desktop
xdg-icon-resource install --novendor --size 256 --mode user share/icons/hicolor/256x256/apps/kitty.png

Ajouter le dossier kitty/bin au PATH (dans .profile)

include theme.conf
shell zsh
font_size 14
#font_family MesloLGS NF
font_family Fira Code
hide_window_decorations yes
tab_bar_edge top
tab_bar_style slant
tab_bar_align left
background_image /home/jean/Images/wallpaper/far-cry-blood-dragon.png
background_tint 0.9
active_tab_foreground #fff
active_tab_background #268BD2
#active_tab_background #a57705
active_tab_font_style bold-italic
inactive_tab_foreground #D33682
#inactive_tab_foreground #93A1A1
inactive_tab_background #001e26
inactive_tab_font_style normal
map ctrl+shift+page_up move_tab_backward
map ctrl+shift+page_down move_tab_forward
map ctrl+tab next_window
map ctrl+page_down next_tab
map ctrl+page_up previous_tab
window_margin_width 0
draw_minimal_borders no
window_border_width 3px
window_padding_width 0
active_border_color #00FFFF
#active_border_color #2AA198
#active_border_color #268BD2
inactive_border_color #93A1A1
#inactive_text_alpha 0.7
#wayland_titlebar_color red
#linux_display_server wayland
############
# scroll #
############
scrollback_lines 5000
wheel_scroll_multiplier 1.0
map shift+page_up scroll_page_up
map shift+page_down scroll_page_down
map shift+up scroll_line_up
map shift+down scroll_line_down
#term xterm-256color
shell_integration no-title
# activer les couleurs inversées pour la séléction
#selection_foreground none
#selection_background none
# 60fps, défaut 10 → 100FPS
repaint_delay 16
sync_to_monitor yes
enable_audio_bell yes
visual_bell_duration 0.0
################
# layouts #
################
enabled_layouts splits
map ctrl+shift+t new_tab_with_cwd
# Create a new window splitting the space used by the existing one so that
# the two windows are placed one above the other
map ctrl+shift+l launch --location=hsplit --cwd=current
# Create a new window splitting the space used by the existing one so that
# the two windows are placed side by side
map ctrl+shift+m launch --location=vsplit --cwd=current
# Move the active window in the indicated direction
map ctrl+shift+up move_window up
map ctrl+shift+left move_window left
map ctrl+shift+right move_window right
map ctrl+shift+down move_window down
# Switch focus to the neighboring window in the indicated direction
map shift+left neighboring_window left
map shift+right neighboring_window right
map shift+up neighboring_window up
map shift+down neighboring_window down
map ctrl+shift+, resize_window narrower
map ctrl+shift+; resize_window wider
map ctrl+shift+: resize_window taller
map ctrl+shift+! resize_window shorter
background #002B36
foreground #839496
cursor #708183
color0 #073642
color8 #002B36
color1 #DC322F
color9 #CB4B16
color2 #859900
color10 #586E75
color3 #B58900
color11 #657B83
color4 #268BD2
color12 #839496
color5 #D33682
color13 #6C71C4
color6 #2AA198
color14 #93A1A1
color7 #EEE8D5
color15 #FDF6E3
selection_foreground #002B36
selection_background #839496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment