From 3cc24bd8746b52a40e05738c94e10a9e8001378e Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 14 May 2024 19:50:08 +0300 Subject: [PATCH] wezterm: fonts --- gui/.config/wezterm/overrides.lua | 7 ++++++- gui/.config/wezterm/wezterm.lua | 7 +++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gui/.config/wezterm/overrides.lua b/gui/.config/wezterm/overrides.lua index def888a..81cc8f8 100644 --- a/gui/.config/wezterm/overrides.lua +++ b/gui/.config/wezterm/overrides.lua @@ -13,7 +13,12 @@ local cursor_bg = '#cb4b16' -- fonts local fonts = wt.config_builder() -fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0', 'ss19'} +fonts.font = wt.font('Cascadia Mono PL') +fonts.harfbuzz_features = {'ss01', 'ss19', 'ss20'} +fonts.font_size = fn.set_by_os{ + Darwin = 14, + others = 11 +} -- theme local theme = wt.config_builder() diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index ae22f67..14e3562 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -21,11 +21,10 @@ cfg.check_for_updates = false cfg.harfbuzz_features = nil 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('Fantasque Sans Mono') cfg.font_size = fn.set_by_os{ - Darwin = 14, - others = 11 + Darwin = 15, + others = 12 } -- visuals