diff options
author | Von Random <von@vdrandom.org> | 2023-10-06 14:20:04 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-10-06 14:20:04 +0300 |
commit | a3deec1c176d9b96a06673f08be626edea6e7110 (patch) | |
tree | 3c5d2473997606cfd09e35d7c00c4ea64a39e3eb | |
parent | bf79773eb3fdeab5a85f55184bb5c4dc2cd03074 (diff) |
wezterm: fancy titlebar
-rw-r--r-- | gui/.wezterm.lua | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gui/.wezterm.lua b/gui/.wezterm.lua index 6747fd5..6931ead 100644 --- a/gui/.wezterm.lua +++ b/gui/.wezterm.lua @@ -12,16 +12,17 @@ local overrides = { }, theme = { color_scheme = 'GruvboxDark' } } -local tab_bar_bg = '#eee8d5' local tab_bar_fg = '#657b83' +local tab_bar_bg = '#eee8d5' +local tab_bar_bg_active = '#fdf6e3' local tab_bar_defaults = { bg_color = tab_bar_bg, fg_color = tab_bar_fg, italic = true } local tab_bar_active = { - bg_color = tab_bar_fg, - fg_color = tab_bar_bg, + bg_color = tab_bar_bg_active, + fg_color = tab_bar_fg, italic = true } local custom_colors = { @@ -32,8 +33,6 @@ local custom_colors = { active_tab = tab_bar_active, inactive_tab = 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, keys = keybinds, colors = custom_colors, - use_fancy_tab_bar = false, - hide_tab_bar_if_only_one_tab = true, - tab_max_width = 128 + use_fancy_tab_bar = true, + hide_tab_bar_if_only_one_tab = false, + 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 } } |