diff options
| -rw-r--r-- | dot_config/wezterm/chezmoi.lua.tmpl | 6 | ||||
| -rw-r--r-- | dot_config/wezterm/wezterm.lua | 2 |
2 files changed, 7 insertions, 1 deletions
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 |
