From ed6c2f2b890debcc205fa8a3226de84912897cfd Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Tue, 1 Jul 2025 18:08:06 -0500 Subject: fix(wezterm) increase font size for mac --- dot_config/wezterm/chezmoi.lua.tmpl | 6 ++++++ dot_config/wezterm/wezterm.lua | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'dot_config/wezterm') diff --git a/dot_config/wezterm/chezmoi.lua.tmpl b/dot_config/wezterm/chezmoi.lua.tmpl index a797849..fed09db 100644 --- a/dot_config/wezterm/chezmoi.lua.tmpl +++ b/dot_config/wezterm/chezmoi.lua.tmpl @@ -14,4 +14,10 @@ M.shell = "pwsh" M.shell = "zsh" {{ end -}} +{{ if eq .chezmoi.os "darwin" -}} +M.font_size = 14 +{{ else }} +M.font_size = 12 +{{ end -}} + return M diff --git a/dot_config/wezterm/wezterm.lua b/dot_config/wezterm/wezterm.lua index 6837541..12d0d98 100644 --- a/dot_config/wezterm/wezterm.lua +++ b/dot_config/wezterm/wezterm.lua @@ -15,7 +15,7 @@ local font = wezterm.font_with_fallback({ { family = "JetBrains Mono" }, }) -local font_size = 12 +local font_size = chezmoi.font_size local width = 120 local length = 40 -- cgit v1.2.3