1
0
Fork 0

move kitty config files around for DWM

This commit is contained in:
Luca Bilke 2022-07-10 22:25:19 +02:00
parent 22ce8a88aa
commit daad1a446a
2 changed files with 34 additions and 34 deletions

View file

@ -40,31 +40,13 @@ window_alert_on_bell no
#: }}}
#: Tab bar {{{
tab_activity_symbol none
bell_on_tab no
tab_separator ""
tab_bar_edge bottom
tab_bar_margin_width 0.0
tab_bar_margin_height 0.0 0.0
tab_bar_style custom
tab_bar_align left
tab_bar_min_tabs 1
tab_switch_strategy previous
tab_title_template " 祿{f'{title[:6]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title}"
active_tab_title_template " 綠{f'{title[:6]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title}"
active_tab_foreground #c0caf5
active_tab_background #101014
active_tab_font_style bold
inactive_tab_foreground #414868
inactive_tab_background #101014
inactive_tab_font_style bold
tab_bar_background #101014
tab_bar_style hidden
#: }}}
#: Color scheme {{{
foreground #a9b1d6
background #1a1b26
background_opacity 1
background_opacity 0.8
dim_opacity 0.75
selection_foreground none
selection_background #28344a
@ -103,7 +85,7 @@ listen_on none
#: OS specific tweaks {{{
linux_display_server x11
confirm_os_window_close 2
confirm_os_window_close 0
#: }}}
#: Keyboard shortcuts {{{
@ -124,15 +106,6 @@ map kitty_mod+x scroll_to_prompt 1
map kitty_mod+h show_scrollback
map kitty_mod+g show_last_command_output
# Tab management
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+right move_tab_forward
map kitty_mod+left move_tab_backward
map kitty_mod+alt+t set_tab_title
# Font sizes
map kitty_mod+plus change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
@ -153,3 +126,4 @@ map kitty_mod+f2 edit_config_file
map kitty_mod+f5 load_config_file
#: }}}

View file

@ -40,13 +40,31 @@ window_alert_on_bell no
#: }}}
#: Tab bar {{{
tab_bar_style hidden
tab_activity_symbol none
bell_on_tab no
tab_separator ""
tab_bar_edge bottom
tab_bar_margin_width 0.0
tab_bar_margin_height 0.0 0.0
tab_bar_style custom
tab_bar_align left
tab_bar_min_tabs 1
tab_switch_strategy previous
tab_title_template " 祿{f'{title[:6]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title}"
active_tab_title_template " 綠{f'{title[:6]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title}"
active_tab_foreground #c0caf5
active_tab_background #101014
active_tab_font_style bold
inactive_tab_foreground #414868
inactive_tab_background #101014
inactive_tab_font_style bold
tab_bar_background #101014
#: }}}
#: Color scheme {{{
foreground #a9b1d6
background #1a1b26
background_opacity 0.8
background_opacity 1
dim_opacity 0.75
selection_foreground none
selection_background #28344a
@ -85,7 +103,7 @@ listen_on none
#: OS specific tweaks {{{
linux_display_server x11
confirm_os_window_close 0
confirm_os_window_close 2
#: }}}
#: Keyboard shortcuts {{{
@ -106,6 +124,15 @@ map kitty_mod+x scroll_to_prompt 1
map kitty_mod+h show_scrollback
map kitty_mod+g show_last_command_output
# Tab management
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+right move_tab_forward
map kitty_mod+left move_tab_backward
map kitty_mod+alt+t set_tab_title
# Font sizes
map kitty_mod+plus change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
@ -126,4 +153,3 @@ map kitty_mod+f2 edit_config_file
map kitty_mod+f5 load_config_file
#: }}}