This commit is contained in:
Anthony Cicchetti 2022-02-15 14:15:44 -05:00
parent a54b00f83c
commit b8555a6b28

View file

@ -1,28 +1,24 @@
local wezterm = require 'wezterm'; local wezterm = require 'wezterm';
function font_with_fallback(name, params)
local names = {name, "Noto Color Emoji", "JetBrains Mono", "Monaco"}
return wezterm.font_with_fallback(names,params)
end
return { return {
-- font stuff -- font stuff
-- font = font_with_fallback("Iosevka Custom"), -- font = font_with_fallback("Iosevka Custom"),
font = font_with_fallback("Iosevka Custom Light"), font = wezterm.font_with_fallback({
{family="Iosevka Custom", weight="Medium"},
}),
font_rules = { font_rules = {
{ {
italic = true, italic = true,
font = font_with_fallback("Dank Mono", {italic=true}), font = wezterm.font_with_fallback({
{family="Dank Mono", italic=true},
{family="Iosevka Custom", weight="Light"},
}
),
}, },
}, },
font_size = 14.0, font_size = 14.0,
font_antialias = "Subpixel",
font_hinting = "Full",
font_shaper = "Harfbuzz",
-- wayland? -- wayland?
enable_wayland = true, enable_wayland = true,
-- TERM name -- TERM name
term = "xterm-256color", term = "xterm-256color",