From d1247f08d3243f9bd7b37543df5f6dbd4f930929 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 21 Dec 2023 01:24:45 +0700 Subject: [PATCH] chore(wezterm): split custom fonts config --- data/wezterm/wezterm.lua | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/data/wezterm/wezterm.lua b/data/wezterm/wezterm.lua index 5d9fb25..f20ecc4 100644 --- a/data/wezterm/wezterm.lua +++ b/data/wezterm/wezterm.lua @@ -1,12 +1,43 @@ local wezterm = require("wezterm") local act = wezterm.action -return { +-- Custom fonts config +local flexi_ibm = { font = wezterm.font({ - family = "Iosevka Term SS08", + family = "Flexi IBM VGA False", }), - font_size = 16.0, + font_rules = { + { + intensity = "Bold", + italic = true, + font = wezterm.font({ + family = "Flexi IBM VGA False", + }), + }, + { + intensity = "Bold", + italic = false, + font = wezterm.font({ + family = "Flexi IBM VGA False", + }), + }, + { + intensity = "Normal", + italic = true, + font = wezterm.font({ + family = "Flexi IBM VGA False", + }), + }, + }, + font_size = 18.0, line_height = 1.2, +} + +return { + font = flexi_ibm.font, + font_rules = flexi_ibm.font_rules, + font_size = flexi_ibm.font_size, + line_height = flexi_ibm.line_height, use_cap_height_to_scale_fallback_fonts = true, color_scheme = "Catppuccin Mocha",