Files
dotfiles/kitty/kitty.conf
T
2026-09-25 20:54:28 +08:00

52 lines
1.3 KiB
Plaintext

# Font Configuration
font_size 12.0
# Window Configuration
window_padding_width 0
background_opacity 0.66
# background_blur 32
hide_window_decorations yes
# Cursor Configuration
cursor_shape block
cursor_blink_interval 1
cursor_trail 3
# Scrollback
scrollback_lines 3000
# Terminal features
copy_on_select yes
strip_trailing_spaces smart
# Key bindings for common actions
map ctrl+shift+n new_window
map ctrl+t new_tab
map ctrl+plus change_font_size all +1.0
map ctrl+minus change_font_size all -1.0
map ctrl+0 change_font_size all 0
# Tab bar layout (shape only; colors come from themes/noctalia.conf)
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style slanted
tab_bar_align left
tab_bar_min_tabs 2
tab_bar_margin_width 0.0
tab_bar_margin_height 2.5 1.5
tab_activity_symbol " ● "
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]"
active_tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]"
# Shell integration
shell_integration enabled
# BEGIN_KITTY_FONTS
font_family family="Maple Mono NF CN"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS
# Theme (single source of truth)