macos tweaks

This commit is contained in:
2026-02-14 05:13:55 +01:00
parent 63223601c3
commit f84477f9b9
3 changed files with 74 additions and 41 deletions

View File

@@ -8,17 +8,17 @@ config.color_scheme = "Invero Day"
config.use_ime = false
-- Font
config.font = wezterm.font({ family = "Maple Mono NF", weight = "Medium" })
config.font_size = 13
config.font = wezterm.font({ family = "Maple Mono NF", weight = "DemiBold" })
config.font_size = 12.5
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" } -- disables alternates and ligatures
config.underline_position = -4
config.underline_thickness = 3
-- config.underline_position = -4
config.underline_thickness = 2
-- Appearance
config.bold_brightens_ansi_colors = false
config.window_padding = { left = "0.5cell", right = "0.5cell", top = 6, bottom = 0 }
config.window_content_alignment = { horizontal = "Center", vertical = "Top" }
config.cell_width = 0.9
config.window_padding = { left = "0.5cell", right = "0.5cell", top = 0, bottom = 0 }
config.window_content_alignment = { horizontal = "Center", vertical = "Center" }
-- config.cell_width = 0.9
config.line_height = 0.9
-- Tabs
@@ -60,13 +60,18 @@ config.keys = {
key = "r",
action = wezterm.action.PromptInputLine({
description = "Enter new tab title",
action = wezterm.action_callback(function(window, pane, line)
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end),
}),
},
{
key = "Enter",
mods = "SHIFT",
action = wezterm.action.SendString("\n"),
},
}
return config