use .hosttype for conditions
This commit is contained in:
@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user