From 2f009c76063e6bcf54cdd8265c33ea1cea86ab26 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 13 Oct 2023 13:23:47 +0300 Subject: [PATCH] wezterm: font size based on os in overrides --- gui/.config/wezterm/overrides.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gui/.config/wezterm/overrides.lua b/gui/.config/wezterm/overrides.lua index 1fe8c69..1818414 100644 --- a/gui/.config/wezterm/overrides.lua +++ b/gui/.config/wezterm/overrides.lua @@ -1,11 +1,15 @@ local wt = require('wezterm') +local fn = require('functions') local current = {} -- fonts local fonts = wt.config_builder() fonts.font = wt.font('JetBrains Mono') -fonts.font_size = 11 +fonts.font_size = fn.set_by_os{ + Darwin = 14, + others = 11 +} fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0'} -- theme