The following is the complete default configuration structure for bar.wezterm.
Requirement: You must use a Nerd Font or have "Symbols Nerd Font" installed for the icons to render correctly.
Note: ssh and spotify modules are disabled by default.
local config = {
position = "bottom",
max_width = 32,
padding = {
left = 1,
right = 1,
tabs = {
left = 0,
right = 2,
},
},
separator = {
space = 1,
left_icon = wez.nerdfonts.fa_long_arrow_right,
right_icon = wez.nerdfonts.fa_long_arrow_left,
field_icon = wez.nerdfonts.indent_line,
},
modules = {
tabs = {
active_tab_fg = 4,
active_tab_bg = "transparent",
inactive_tab_fg = 6,
inactive_tab_bg = "transparent",
new_tab_fg = 2,
new_tab_bg = "transparent",
rules = {},
},
workspace = {
enabled = true,
icon = wez.nerdfonts.cod_window,
color = 8,
},
leader = {
enabled = true,
icon = wez.nerdfonts.oct_rocket,
color = 2,
},
zoom = {
enabled = false,
icon = wez.nerdfonts.md_fullscreen,
color = 4,
},
pane = {
enabled = true,
icon = wez.nerdfonts.cod_multiple_windows,
color = 7,
},
username = {
enabled = true,
icon = wez.nerdfonts.fa_user,
color = 6,
},
hostname = {
enabled = true,
icon = wez.nerdfonts.cod_server,
color = 8,
},
clock = {
enabled = true,
icon = wez.nerdfonts.md_calendar_clock,
format = "%H:%M",
color = 5,
},
cwd = {
enabled = true,
icon = wez.nerdfonts.oct_file_directory,
color = 7,
},
ssh = {
enabled = false,
icon = wez.nerdfonts.md_ssh,
color = 5,
},
spotify = {
enabled = false,
icon = wez.nerdfonts.fa_spotify,
color = 3,
max_width = 64,
throttle = 15,
},
},
}