Initial commit
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
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
|
||||
Reference in New Issue
Block a user