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-feature = ss01
|
||||
font-feature = ss19
|
||||
font-feature = ss20
|
||||
font-size = 12
|
||||
{{- $font := index .ghostty_font .chezmoi.os -}}
|
||||
font-family = {{ $font.face }}
|
||||
{{- range $font.feats }}
|
||||
font-feature = {{ . }}
|
||||
{{- end }}
|
||||
font-size = {{ $font.size }}
|
||||
|
||||
cursor-style = block
|
||||
cursor-style-blink = false
|
Loading…
Add table
Add a link
Reference in a new issue