Adding kitty.conf.

This commit is contained in:
Bartek Stalewski 2022-04-24 21:14:47 +02:00
parent fdc56915b2
commit e09ebda7f0
2 changed files with 97 additions and 1 deletions

View File

@ -4,7 +4,7 @@
mkdir -p ~/.config ~/.local/bin
# link config
for i in clipit dunst neofetch zathura; do
for i in clipit dunst zathura; do
rm -rf ~/.config/${i}
ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/${i} ~/.config
done

96
_desktop/kitty/kitty.conf Normal file
View File

@ -0,0 +1,96 @@
font_family JetBrains Mono Medium Nerd Font Complete
bold_font JetBrains Mono Bold Nerd Font Complete
italic_font JetBrains Mono Medium Italic Nerd Font Complete
bold_italic_font JetBrains Mono Bold Italic Nerd Font Complete
font_size 11
adjust_line_height 0
adjust_column_width 0
#: Change the size of each character cell kitty renders. You can use
#: either numbers, which are interpreted as pixels or percentages
#: (number followed by %), which are interpreted as percentages of the
#: unmodified values. You can use negative pixels or percentages less
#: than 100% to reduce sizes (but this might cause rendering
#: artifacts).
adjust_baseline 0
#: Adjust the vertical alignment of text (the height in the cell at
#: which text is positioned). You can use either numbers, which are
#: interpreted as pixels or a percentages (number followed by %),
#: which are interpreted as the percentage of the line height. A
#: positive value moves the baseline up, and a negative value moves
#: them down. The underline and strikethrough positions are adjusted
#: accordingly.
box_drawing_scale 0.001, 1, 1.5, 2
#: Change the sizes of the lines used for the box drawing unicode
#: characters These values are in pts. They will be scaled by the
#: monitor DPI to arrive at a pixel value. There must be four values
#: corresponding to thin, normal, thick, and very thick lines.
cursor #c7c7c7
cursor_text_color #161616
cursor_shape beam
cursor_beam_thickness 1.5
cursor_blink_interval 0
scrollback_lines -1
mouse_hide_wait 0.0
url_color #005577
url_style straight
open_url_with $BROWSER
clear_all_mouse_actions yes
mouse_map left click ungrabbed mouse_handle_click selection link prompt
mouse_map middle release ungrabbed paste_from_selection
mouse_map left press ungrabbed mouse_selection normal
mouse_map left doublepress ungrabbed mouse_selection word
mouse_map left triplepress ungrabbed mouse_selection line
mouse_map right press ungrabbed mouse_selection extend
sync_to_monitor yes
enable_audio_bell no
window_alert_on_bell yes
remember_window_size no
initial_window_width 1200
initial_window_height 800
window_padding_width 2
hide_window_decorations yes
update_check_interval 0
term xterm-256color
foreground #c7c7c7
background #161616
background_opacity 1.0
selection_foreground #000000
selection_background #fffacd
color0 #161616
color1 #fd4285
color2 #a6e22d
color3 #e5da72
color4 #0094d8
color5 #9a37ff
color6 #50b6d8
color7 #c7c7c7
color8 #676767
color9 #fa7fac
color10 #bde271
color11 #fff27f
color12 #00bdff
color13 #bd9eff
color14 #5ed6fe
color15 #feffff
kitty_mod ctrl
clear_all_shortcuts yes
map kitty_mod+shift+c copy_to_clipboard
map kitty_mod+shift+v paste_from_clipboard
map shift+insert paste_from_selection
map kitty_mod+k scroll_line_up
map kitty_mod+k scroll_line_up
map kitty_mod+j scroll_line_down
map kitty_mod+equal change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
map kitty_mod+0 change_font_size all 0
map kitty_mod+o open_url_with_hints
map kitty_mod+x>l kitten hints --type line --program -
map kitty_mod+x>w kitten hints --type word --program -
map kitty_mod+shift+u kitten unicode_input