1
0
Fork 0

ghostty: per os template

This commit is contained in:
Von Random 2025-01-02 18:53:38 +02:00
parent 6e57a74918
commit 781717d87d
2 changed files with 17 additions and 5 deletions

11
.chezmoi.toml.tmpl Normal file
View file

@ -0,0 +1,11 @@
sourceDir = "~/.vdotfiles"
[data.ghostty_font.darwin]
face = "Cascadia Mono PL"
size = "14"
feats = ['ss01', 'ss19', 'ss20']
[data.ghostty_font.linux]
face = "IBM Plex Mono"
size = "12"
feats = ['ss03']

View file

@ -1,8 +1,9 @@
font-family = Cascadia Mono PL {{- $font := index .ghostty_font .chezmoi.os -}}
font-feature = ss01 font-family = {{ $font.face }}
font-feature = ss19 {{- range $font.feats }}
font-feature = ss20 font-feature = {{ . }}
font-size = 12 {{- end }}
font-size = {{ $font.size }}
cursor-style = block cursor-style = block
cursor-style-blink = false cursor-style-blink = false