wezterm: Add cursive italics
Set up wezterm to continue to use Iosevka for everything *except* italics (in all weights) which will instead be displayed by the Victor font. This ultimately results in cursive fonts for italics and Iosevka for everything else, very pretty.
This commit is contained in:
parent
36d411dafa
commit
a16e0eead7
2 changed files with 31 additions and 1 deletions
|
@ -301,6 +301,7 @@ ttf-comic-neue Comic Neue aspires to be the casual script choice for everyone in
|
|||
ttf-heuristica A serif latin & cyrillic font, derived from the "Adobe Utopia" font by Apanov A
|
||||
ttf-iosevka-nerd Patched font Iosevka from nerd fonts library R
|
||||
ttf-signika Sans-serif typeface from Google by Anna Giedryś A
|
||||
ttf-victor-mono-nerd Patched font Victor Mono from nerd fonts library R
|
||||
tuir Browse Reddit from your terminal A
|
||||
tut A TUI for Mastodon with vim inspired keys A
|
||||
typescript-language-server Language Server Protocol (LSP) implementation for TypeScript using tsserver R
|
||||
|
|
Can't render this file because it contains an unexpected character in line 301 and column 64.
|
|
@ -36,6 +36,35 @@ local settings = {
|
|||
-- default_prog = {"nu"},
|
||||
scrollback_lines = 10000,
|
||||
font = wezterm.font('Iosevka Nerd Font'),
|
||||
-- add cursive italic font from Victor font for all weights
|
||||
font_rules = {
|
||||
{
|
||||
intensity = 'Bold',
|
||||
italic = true,
|
||||
font = wezterm.font {
|
||||
family = 'VictorMono Nerd Font',
|
||||
weight = 'Bold',
|
||||
style = 'Italic',
|
||||
},
|
||||
},
|
||||
{
|
||||
italic = true,
|
||||
intensity = 'Half',
|
||||
font = wezterm.font {
|
||||
family = 'VictorMono Nerd Font',
|
||||
weight = 'DemiBold',
|
||||
style = 'Italic',
|
||||
},
|
||||
},
|
||||
{
|
||||
italic = true,
|
||||
intensity = 'Normal',
|
||||
font = wezterm.font {
|
||||
family = 'VictorMono Nerd Font',
|
||||
style = 'Italic',
|
||||
},
|
||||
},
|
||||
},
|
||||
line_height = 1.0,
|
||||
leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1500 },
|
||||
keys = maps.keys,
|
||||
|
|
Loading…
Reference in a new issue