macos
windows
- Pull in the wezterm API
local wezterm = require("wezterm")
local tabline = wezterm.plugin.require("https://github.com/michaelbrusegard/tabline.wez")
tabline.setup({
options = {
icons_enabled = true,
theme = "Catppuccin Frappe",
tabs_enabled = true,
theme_overrides = {},
section_separators = {
left = wezterm.nerdfonts.ple_right_half_circle_thick,
right = wezterm.nerdfonts.ple_left_half_circle_thick,
},
component_separators = {
left = wezterm.nerdfonts.ple_right_half_circle_thin,
right = wezterm.nerdfonts.ple_left_half_circle_thin,
},
tab_separators = {
left = wezterm.nerdfonts.ple_right_half_circle_thick,
right = wezterm.nerdfonts.ple_left_half_circle_thick,
},
},
sections = {
tabline_a = { "mode" },
tabline_b = { "workspace" },
tabline_c = { " " },
tab_active = {
"index",
{ "parent", padding = 0 },
"/",
{ "cwd", padding = { left = 0, right = 1 } },
{ "zoomed", padding = 0 },
},
tab_inactive = { "index", { "process", padding = { left = 0, right = 1 } } },
tabline_x = { "ram", "cpu" },
tabline_y = { "datetime", "battery" },
tabline_z = { "domain" },
},
extensions = {},
})
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
config.color_scheme = "Catppuccin Frappe"
config.font = wezterm.font("MonacoLigaturized Nerd Font Mono", { weight = "Bold", italic = true })
config.window_background_opacity = 0.75
-- config.macos_window_background_blur = 20
-- config.text_background_opacity = 0.75
config.max_fps = 60
config.animation_fps = 60
config.webgpu_power_preference = "HighPerformance"
config.enable_tab_bar = true
config.default_cursor_style = "BlinkingBar"
config.cursor_blink_ease_in = "Linear"
config.cursor_blink_ease_out = "Linear"
config.cursor_blink_rate = 2500
config.use_fancy_tab_bar = true
config.adjust_window_size_when_changing_font_size = true
config.window_decorations = "RESIZE"
config.font_size = 13
config.win32_system_backdrop = "Acrylic"
-- plugins load
--
tabline.apply_to_config(config)
-- and finally, return the configuration to wezterm
return config