wezterm
This commit is contained in:
parent
a54b00f83c
commit
b8555a6b28
1 changed files with 8 additions and 12 deletions
|
@ -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",
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue