mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(wezterm): change font configuration
This changes the Wezterm configuration to use different font settings for normal text, comments, and highlighted text
This commit is contained in:
@@ -6,26 +6,63 @@ if wezterm.config_builder then
|
||||
end
|
||||
|
||||
-- Colorscheme and font
|
||||
-- config.font = wezterm.font("FiraCode Nerd Font")
|
||||
-- config.font = wezterm.font("Monaspace Radon")
|
||||
-- config.font = wezterm.font("Monaspace Neon")
|
||||
config.font = wezterm.font({
|
||||
family = "Monaspace Neon",
|
||||
harfbuzz_features = {
|
||||
"calt=1",
|
||||
"clig=1",
|
||||
"liga=1",
|
||||
"dlig=1",
|
||||
"ss01=1",
|
||||
"ss02=1",
|
||||
"ss03=1",
|
||||
"ss04=1",
|
||||
"ss05=1",
|
||||
"ss06=1",
|
||||
"ss07=1",
|
||||
"ss08=1",
|
||||
config.font = wezterm.font_with_fallback({
|
||||
{
|
||||
family = "Monaspace Neon",
|
||||
harfbuzz_features = { "calt=1", "clig=1", "liga=1", "dlig=1", "ss01=1", "ss02=1", "ss03=1", "ss04=1", "ss05=1", "ss06=1", "ss07=1", "ss08=1" },
|
||||
weight = "Regular",
|
||||
italic = false,
|
||||
},
|
||||
"Symbols Nerd Font Mono",
|
||||
"Noto Color Emoji",
|
||||
"Noto Emoji",
|
||||
})
|
||||
|
||||
config.font_rules = {
|
||||
-- Comment in code (italic)
|
||||
{
|
||||
intensity = "Normal",
|
||||
italic = true,
|
||||
font = wezterm.font_with_fallback({
|
||||
{
|
||||
family = "Monaspace Radon",
|
||||
weight = "ExtraLight",
|
||||
stretch = "Normal",
|
||||
style = "Normal",
|
||||
harfbuzz_features = { "calt=1", "liga=1", "dlig=1", "ss01=1", "ss02=1", "ss03=1", "ss04=1", "ss05=1", "ss06=1", "ss07=0", "ss08=1" },
|
||||
},
|
||||
}),
|
||||
},
|
||||
-- Highlighted text in code (bold)
|
||||
{
|
||||
intensity = "Bold",
|
||||
italic = false,
|
||||
font = wezterm.font_with_fallback({
|
||||
{
|
||||
family = "Monaspace Krypton",
|
||||
weight = "Light",
|
||||
stretch = "Normal",
|
||||
style = "Normal",
|
||||
harfbuzz_features = { "calt=1", "liga=1", "dlig=1", "ss01=1", "ss02=1", "ss03=1", "ss04=1", "ss05=1", "ss06=1", "ss07=0", "ss08=1" },
|
||||
},
|
||||
}),
|
||||
},
|
||||
-- Bold-italic
|
||||
{
|
||||
intensity = "Bold",
|
||||
italic = true,
|
||||
font = wezterm.font_with_fallback({
|
||||
{
|
||||
family = "Monaspace Radon",
|
||||
weight = "Light",
|
||||
stretch = "Normal",
|
||||
style = "Normal",
|
||||
harfbuzz_features = { "calt=1", "liga=1", "dlig=1", "ss01=1", "ss02=1", "ss03=1", "ss04=1", "ss05=1", "ss06=1", "ss07=0", "ss08=1" },
|
||||
},
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
config.font_size = 22.0
|
||||
config.line_height = 1.2
|
||||
config.color_scheme = "Catppuccin Mocha"
|
||||
|
||||
Reference in New Issue
Block a user