1
0
Fork 0

fix kitty bind and tab centering

This commit is contained in:
Luca Bilke 2022-08-10 08:24:23 +02:00
parent 06b28b4206
commit 71f77ad61d

View file

@ -48,7 +48,7 @@ tab_bar_style custom
tab_bar_align left
tab_bar_min_tabs 1
tab_switch_strategy previous
tab_title_template "{f'{title[:30]}…' if title.rindex(title[-1]) + 1 > 30 else title.center(5)}"
tab_title_template "{f'{title[:30]}…' if title.rindex(title[-1]) + 1 > 30 else (title.center(6) if (title.rindex(title[-1]) + 1) % 2 == 0 else title.center(5))}"
active_tab_font_style bold
inactive_tab_font_style bold
#: }}}
@ -128,8 +128,8 @@ map shift+right next_tab
map shift+left previous_tab
map kitty_mod+t new_tab
map kitty_mod+r close_tab
map kitty_mod+, move_tab_forward
map kitty_mod+. move_tab_backward
map kitty_mod+. move_tab_forward
map kitty_mod+, move_tab_backward
map kitty_mod+alt+t set_tab_title
# Window Management