ghostty: per os template
This commit is contained in:
parent
6e57a74918
commit
781717d87d
2 changed files with 17 additions and 5 deletions
11
.chezmoi.toml.tmpl
Normal file
11
.chezmoi.toml.tmpl
Normal 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']
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue