use .hosttype for conditions

This commit is contained in:
inkch
2024-01-17 11:18:44 +09:00
parent b86adbe790
commit dcfb6648d1
5 changed files with 8 additions and 8 deletions

View File

@ -45,9 +45,9 @@ shape = "Block"
TERM = "xterm-256color"
[font]
{{- if eq .chezmoi.hostname "arch" }}
{{- if eq .hosttype "desktop" }}
size = 7.5
{{- else if eq .chezmoi.hostname "buzz" }}
{{- else if eq .hosttype "laptop" }}
size = 5.5
{{- end }}