added support for the wezterm fancy_tab_bar

This commit is contained in:
William 2024-09-19 09:43:41 -03:00
parent 149b313ddf
commit 4100b027f3

View file

@ -58,9 +58,6 @@ in {
local stylix_base_config = wezterm.config_builder()
local stylix_user_config = stylix_wrapped_config()
stylix_base_config = {
-- Set due to the default fancy tabs not respecting colorschemes
-- See https://github.com/wez/wezterm/issues/2615
use_fancy_tab_bar = false,
color_scheme = "stylix",
font = wezterm.font_with_fallback {
"${monospace.name}",
@ -86,6 +83,32 @@ in {
inactive_titlebar_fg = "${base05}",
inactive_titlebar_border_bottom = "${base03}",
},
colors = {
tab_bar = {
background = "${base01}",
inactive_tab_edge = "${base01}",
active_tab = {
bg_color = "${base00}",
fg_color = "${base05}",
},
inactive_tab = {
bg_color = "${base03}",
fg_color = "${base05}",
},
inactive_tab_hover = {
bg_color = "${base05}",
fg_color = "${base00}",
},
new_tab = {
bg_color = "${base03}",
fg_color = "${base05}",
},
new_tab_hover = {
bg_color = "${base05}",
fg_color = "${base00}",
},
},
},
command_palette_bg_color = "${base01}",
command_palette_fg_color = "${base05}",
command_palette_font_size = ${builtins.toString sizes.popups},