local wezterm = require 'wezterm' local config = {} config.check_for_updates = false config.window_padding = { left = 5, right = 5, top = 5, bottom = 5, } config.font = wezterm.font 'JetBrains Mono NL' config.font_size = 11 config.window_frame = { font = wezterm.font { family = 'JetBrains Mono NL', weight = 'Regular', }, font_size = 11.0, } --config.color_scheme = 'nord' config.default_cursor_style = 'BlinkingBlock' config.cursor_blink_rate = 500 config.cursor_blink_ease_in = 'Constant' config.cursor_blink_ease_out = 'Constant' config.colors = { foreground = '#eeeeec', background = '#2e3440', cursor_bg = '#eeeeec', cursor_fg = '#000000', cursor_border = '#eeeeec', --selection_fg = '#eeeeec', selection_bg = '#636363', ansi = { '#2e3440', '#fa5355', '#40a33f', '#ebcb8b', '#3465a4', '#75507b', '#0b939b', '#d3d7cf', }, brights = { '#555753', '#fb7172', '#70be71', '#ffff87', '#729fcf', '#ad7fa8', '#42c7da', '#eeeeec', }, compose_cursor = '#3465a4', } config.hide_tab_bar_if_only_one_tab = true function tab_title(tab_info) local title = tab_info.tab_title if title and #title > 0 then return title end return tab_info.active_pane.title end wezterm.on( 'format-tab-title', function(tab, tabs, panes, config, hover, max_width) local title = ' ' .. tab_title(tab) .. ' ' if tab.is_active then return { { Background = { Color = '#385c7a' } }, { Text = title }, } end return title end ) return config