wezterm: fancy titlebar
This commit is contained in:
		
							parent
							
								
									bf79773eb3
								
							
						
					
					
						commit
						a3deec1c17
					
				
					 1 changed files with 10 additions and 8 deletions
				
			
		| 
						 | 
					@ -12,16 +12,17 @@ local overrides = {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    theme = { color_scheme = 'GruvboxDark' }
 | 
					    theme = { color_scheme = 'GruvboxDark' }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
local tab_bar_bg = '#eee8d5'
 | 
					 | 
				
			||||||
local tab_bar_fg = '#657b83'
 | 
					local tab_bar_fg = '#657b83'
 | 
				
			||||||
 | 
					local tab_bar_bg = '#eee8d5'
 | 
				
			||||||
 | 
					local tab_bar_bg_active = '#fdf6e3'
 | 
				
			||||||
local tab_bar_defaults = {
 | 
					local tab_bar_defaults = {
 | 
				
			||||||
    bg_color = tab_bar_bg,
 | 
					    bg_color = tab_bar_bg,
 | 
				
			||||||
    fg_color = tab_bar_fg,
 | 
					    fg_color = tab_bar_fg,
 | 
				
			||||||
    italic = true
 | 
					    italic = true
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
local tab_bar_active = {
 | 
					local tab_bar_active = {
 | 
				
			||||||
    bg_color = tab_bar_fg,
 | 
					    bg_color = tab_bar_bg_active,
 | 
				
			||||||
    fg_color = tab_bar_bg,
 | 
					    fg_color = tab_bar_fg,
 | 
				
			||||||
    italic = true
 | 
					    italic = true
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
local custom_colors = {
 | 
					local custom_colors = {
 | 
				
			||||||
| 
						 | 
					@ -32,8 +33,6 @@ local custom_colors = {
 | 
				
			||||||
        active_tab = tab_bar_active,
 | 
					        active_tab = tab_bar_active,
 | 
				
			||||||
        inactive_tab = tab_bar_defaults,
 | 
					        inactive_tab = tab_bar_defaults,
 | 
				
			||||||
        inactive_tab_hover = tab_bar_defaults,
 | 
					        inactive_tab_hover = tab_bar_defaults,
 | 
				
			||||||
        new_tab = tab_bar_defaults,
 | 
					 | 
				
			||||||
        new_tab_hover = tab_bar_defaults,
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -115,7 +114,10 @@ return {
 | 
				
			||||||
    leader = leader_key,
 | 
					    leader = leader_key,
 | 
				
			||||||
    keys = keybinds,
 | 
					    keys = keybinds,
 | 
				
			||||||
    colors = custom_colors,
 | 
					    colors = custom_colors,
 | 
				
			||||||
    use_fancy_tab_bar = false,
 | 
					    use_fancy_tab_bar = true,
 | 
				
			||||||
    hide_tab_bar_if_only_one_tab = true,
 | 
					    hide_tab_bar_if_only_one_tab = false,
 | 
				
			||||||
    tab_max_width = 128
 | 
					    show_new_tab_button_in_tab_bar = false,
 | 
				
			||||||
 | 
					    tab_max_width = 128,
 | 
				
			||||||
 | 
					    window_decorations = 'INTEGRATED_BUTTONS | RESIZE | MACOS_FORCE_ENABLE_SHADOW',
 | 
				
			||||||
 | 
					    window_frame = { active_titlebar_bg = tab_bar_bg }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue