Files
hyprland/config/kitty/kitty.conf
T
2024-05-01 13:54:37 +05:45

216 lines
3.9 KiB
Plaintext

# Fonts
font_family FiraCode Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 10
adjust_line_height 0
adjust_column_width 0
symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 FiraCodeNerdFontComplete-Regular
disable_ligatures never
font_features FiraCodeNerdFontComplete-Regular +ss03 +ss04 +ss05 zero
# Cursor
cursor #bbbbbb
cursor_text_color background
cursor_shape block
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_stop_blinking_after 5.0
# Scrollback
scrollback_lines 99999
scrollback_pager $PAGER --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager_history_size 10
# Mouse
mouse_hide_wait 2.0
url_color #0078d7
url_style curly
open_url_modifiers ctrl
open_url_with default
url_prefixes http https file ftp gemini irc gopher mailto news git
detect_urls yes
copy_on_select clipboard
paste_actions quote-urls-at-prompt
strip_trailing_spaces smart
rectangle_select_modifiers ctrl+alt
terminal_select_modifiers shift
# select_by_word_characters @-./_~?&=%+#
focus_follows_mouse yes
pointer_shape_when_grabbed beam
default_pointer_shape arrow
pointer_shape_when_dragging beam
# Performance tuning
# repaint_delay 10
# input_delay 3
# sync_to_monitor yes
# Terminal bell
enable_audio_bell no
# visual_bell_duration 0.0
# window_alert_on_bell yes
# bell_on_tab yes
# command_on_bell none
# Window layout
remember_window_size yes
initial_window_width 840
initial_window_height 320
# enabled_layouts *
# window_resize_step_cells 2
# window_resize_step_lines 2
# window_border_width 0.5pt
# draw_minimal_borders yes
# window_margin_width 0
# single_window_margin_width -1
# window_padding_width 0
# placement_strategy center
active_border_color #cba6f7
inactive_border_color #777777
# hide_window_decorations no
# resize_debounce_time 0.1
# resize_draw_strategy static
# resize_in_steps no
confirm_os_window_close 0
# Tab bar
tab_bar_edge top
tab_bar_margin_width 0.0
tab_bar_style powerline
# tab_bar_min_tabs 2
# tab_switch_strategy previous
# tab_fade 0.25 0.5 0.75 1
tab_separator " ┇ "
tab_activity_symbol *
tab_title_template "{index}:{title[-8:]}"
# active_tab_title_template none
active_tab_title_template "[{index}:{title[-8:]}]"
active_tab_foreground #f38ba8
active_tab_background #333A56
active_tab_font_style normal
inactive_tab_foreground #D9E0EE
inactive_tab_background #161925
inactive_tab_font_style normal
tab_bar_background #161926
background_opacity 0.75
background_image none
# background_image_layout scale
background_image_linear no
dynamic_background_opacity yes
background_tint 0.0
dim_opacity 0.75
selection_foreground none
selection_background #44475a
background #161926
foreground #CDD6F4
color0 #45475A
color8 #585B70
color1 #F38BA8
color9 #F38BA8
color2 #A6E3A1
color10 #A6E3A1
color3 #F9E2AF
color11 #F9E2AF
color4 #89B4FA
color12 #89B4FA
color5 #F5C2E7
color13 #F5C2E7
color6 #94E2D5
color14 #94E2D5
color7 #BAC2DE
color15 #A6ADC8
mark1_foreground black
mark1_background #98d3cb
mark2_foreground black
mark2_background #f2dcd3
mark3_foreground black
mark3_background #f274bc
# Advanced
# shell .
# editor .
# close_on_child_death no
allow_remote_control no
listen_on none
# env
# update_check_interval 24
# startup_session none
# clipboard_control write-clipboard write-primary
allow_hyperlinks yes
# term xterm-kitty
shell_integration enabled
#: Keyboard shortcuts {{{
map ctrl+v paste_from_clipboard
map ctrl+c copy_and_clear_or_interrupt
map ctrl+shift+e open_url_with_hints
map ctrl+shift+o pass_selection_to_program qutebrowser
# Browse scrollback
map ctrl+shift+h launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R
# Send alt + t to the terminal
# map ctrl+t send_text all \x1bt
hide_window_decorations titlebar-only