chore: config italic font wezterm

main
sudo pacman -Syu 2023-03-09 15:24:11 +07:00
parent db86339ee1
commit 9ce5bbf772
1 changed files with 28 additions and 6 deletions

View File

@ -1,18 +1,40 @@
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({
{
family = "mononoki",
harfbuzz_features = { "ss01" },
},
"Martian Mono",
"JetBrains Mono",
{
family = "Fira Code",
harfbuzz_features = { "cv06", "zero", "cv14", "ss04", "cv18", "ss03", "cv16", "cv31" },
},
{
family = "mononoki",
harfbuzz_features = { "ss01" },
},
"Input Mono",
}),
font_size = 16.0,
line_height = 1.2,
font_rules = {
{
intensity = "Bold",
italic = true,
font = wezterm.font({
family = "JetBrains Mono",
weight = "Bold",
style = "Italic",
}),
},
{
intensity = "Normal",
italic = true,
font = wezterm.font({
family = "JetBrains Mono",
style = "Italic",
}),
},
},
font_size = 14.0,
use_cap_height_to_scale_fallback_fonts = true,
line_height = 1.4,
color_scheme = "Catppuccin Mocha",
keys = {
{