diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index c817730..8591871 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,11 +1 @@ sourceDir = "~/.vdotfiles" - -[data.ghostty_font.darwin] -face = "Maple Mono NL NF" -size = "14" -feats = [] - -[data.ghostty_font.linux] -face = "Maple Mono NL NF" -size = "11" -feats = [] diff --git a/dot_config/ghostty/config.tmpl b/dot_config/ghostty/config.tmpl index 10de00d..d3af2b3 100644 --- a/dot_config/ghostty/config.tmpl +++ b/dot_config/ghostty/config.tmpl @@ -1,15 +1,14 @@ -{{- $font := index .ghostty_font .chezmoi.os -}} -font-family = {{ $font.face }} -{{- range $font.feats }} -font-feature = {{ . }} +font-family = Maple Mono NL NF +{{- if eq .chezmoi.os "darwin" }} +font-size = 14 +{{- else }} +font-size = 11 {{- end }} -font-size = {{ $font.size }} cursor-style = block cursor-style-blink = false shell-integration-features = no-cursor window-padding-color = extend -macos-titlebar-style = tabs theme = Gruvbox Dark