1
0
Fork 0

chezmoi, ghostty: simplify conditionals in templates

This commit is contained in:
Von Random 2026-03-03 14:36:02 +02:00
parent 5a8485f486
commit d7f430531f
2 changed files with 5 additions and 16 deletions

View file

@ -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