Files
2025-05-05 16:35:35 +02:00

53 lines
1.0 KiB
Lua

local wezterm = require("wezterm")
local fonts = {}
local family = "Iosevka Custom"
-- Automatically includes fallback for nerd font symbols,
-- so it doesn't require a patched font.
fonts.regular = wezterm.font({
family = family,
weight = "Regular",
stretch = "Normal",
style = "Normal",
})
fonts.italic = wezterm.font({
family = family,
weight = "Regular",
stretch = "Normal",
style = "Italic",
})
fonts.bold = wezterm.font({
family = family,
weight = "Bold",
stretch = "Normal",
style = "Normal",
})
fonts.bolditalic = wezterm.font({
family = family,
weight = "Bold",
stretch = "Normal",
style = "Italic",
})
fonts.rules = {
italic = {
intensity = "Normal",
italic = true,
font = fonts.italic,
},
bold = {
intensity = "Bold",
italic = false,
font = fonts.bold,
},
bolditalic = {
intensity = "Bold",
italic = true,
font = fonts.bolditalic,
},
}
return fonts