63 lines
1.6 KiB
Lua
63 lines
1.6 KiB
Lua
-- Pull in the wezterm API
|
|
local wezterm = require 'wezterm'
|
|
|
|
-- This will hold the configuration.
|
|
local config = wezterm.config_builder()
|
|
|
|
-- This is where you actually apply your config choices.
|
|
|
|
-- For example, changing the initial geometry for new windows:
|
|
config.initial_cols = 120
|
|
config.initial_rows = 28
|
|
|
|
-- or, changing the font size and color scheme.
|
|
-- You can specify some parameters to influence the font selection;
|
|
-- for example, this selects a Bold, Italic font variant.
|
|
config.font = wezterm.font('Iosevka Nerd Font Mono')
|
|
config.font_size = 12
|
|
config.color_scheme = 'iTerm2 Smoooooth'
|
|
|
|
|
|
|
|
config.window_frame = {
|
|
-- The font used in the tab bar.
|
|
-- Roboto Bold is the default; this font is bundled
|
|
-- with wezterm.
|
|
-- Whatever font is selected here, it will have the
|
|
-- main font setting appended to it to pick up any
|
|
-- fallback fonts you may have used there.
|
|
font = wezterm.font { family = 'Iosevka', weight = 'Bold' },
|
|
|
|
-- The size of the font in the tab bar.
|
|
-- Default to 10.0 on Windows but 12.0 on other systems
|
|
font_size = 14.0,
|
|
|
|
-- The overall background color of the tab bar when
|
|
-- the window is focused
|
|
active_titlebar_bg = '#333333',
|
|
|
|
-- The overall background color of the tab bar when
|
|
-- the window is not focused
|
|
inactive_titlebar_bg = '#333333',
|
|
}
|
|
|
|
config.colors = {
|
|
tab_bar = {
|
|
-- The color of the inactive tab bar edge/divider
|
|
inactive_tab_edge = '#575757',
|
|
},
|
|
}
|
|
|
|
config.window_background_opacity = .9
|
|
|
|
|
|
config.window_padding = {
|
|
left = 8,
|
|
right = 8,
|
|
top = 0,
|
|
bottom = 0,
|
|
}
|
|
|
|
-- Finally, return the configuration to wezterm:
|
|
return config
|