From ebf583cb5a6567857d07f72d5d880c41fa80f4cb Mon Sep 17 00:00:00 2001 From: Von Random <von@mechanus.net> Date: Thu, 27 Feb 2025 16:19:09 +0200 Subject: [PATCH] wezterm: more font tweaks --- dot_config/wezterm/overrides.lua | 6 ++++-- dot_config/wezterm/wezterm.lua | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dot_config/wezterm/overrides.lua b/dot_config/wezterm/overrides.lua index 60136c5..fcb7c4a 100644 --- a/dot_config/wezterm/overrides.lua +++ b/dot_config/wezterm/overrides.lua @@ -10,8 +10,10 @@ local tab_bg_active = '#fdf6e3' -- fonts local fonts = wt.config_builder() -fonts.font = wt.font('JetBrains Mono') -fonts.harfbuzz_features = {'zero'} +fonts.font = wt.font{ + family = 'JetBrains Mono', + harfbuzz_features = {'zero'} +} -- theme local theme = wt.config_builder() diff --git a/dot_config/wezterm/wezterm.lua b/dot_config/wezterm/wezterm.lua index cf2f53d..4184d4d 100644 --- a/dot_config/wezterm/wezterm.lua +++ b/dot_config/wezterm/wezterm.lua @@ -18,8 +18,10 @@ cfg.check_for_updates = false -- fonts & text cfg.cursor_blink_rate = 0 cfg.bold_brightens_ansi_colors = false -cfg.font = wt.font('Cascadia Mono PL') -cfg.harfbuzz_features = {"ss01", "ss19", "ss20"} +cfg.font = wt.font{ + family = 'Cascadia Mono PL', + harfbuzz_features = {"ss01", "ss19", "ss20"} +} cfg.font_size = fn.set_by_os{ Darwin = 14, others = 10