From 50a130553297ffe3d2a3c2e38eddc01690c0133c Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 19 Dec 2020 15:47:21 +0100 Subject: [PATCH] fix wezterm fonts --- .wezterm.lua | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.wezterm.lua b/.wezterm.lua index 57f4d36..29410cd 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -38,7 +38,30 @@ return { } }, - font = wezterm.font("Iosevka Nerd Font Complete"), + font_dirs = {"C:\\Windows\\Fonts"}, + + font_rules = { + { + italic = false, + bold = false, + font = wezterm.font("Iosevka Nerd Font Complete"), + }, + { + italic = true, + bold = false, + font = wezterm.font("Iosevka Italic Nerd Font Complete"), + }, + { + italic = false, + bold = true, + font = wezterm.font("Iosevka Bold Nerd Font Complete"), + }, + { + italic = true, + bold = true, + font = wezterm.font("Iosevka Bold Italic Nerd Font Complete"), + }, + }, launch_menu = { {