use .hosttype for conditions
This commit is contained in:
@ -58,7 +58,7 @@ vim.cmd(':ca mkdir. call mkdir(expand("%:p:h"), "p")')
|
||||
vim.cmd(':ca W! w !sudo -A tee %')
|
||||
{{- end }}
|
||||
|
||||
{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }}
|
||||
{{- if (and (eq .hosttype "desktop" "laptop") (eq .chezmoi.os "linux")) }}
|
||||
vim.cmd([[ autocmd InsertLeave * call system("fcitx5-remote -c") ]])
|
||||
{{- end }}
|
||||
|
||||
|
Reference in New Issue
Block a user