-
Notifications
You must be signed in to change notification settings - Fork 1
/
.chezmoi.toml.tmpl
26 lines (26 loc) · 1.01 KB
/
.chezmoi.toml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[gpg]
recipient = "46281506C8CB0C7B595CBB49FD702A19657AB22A"
[merge]
{{- if(eq .chezmoi.hostname "pc-arch-jorik" "tmpworkstation" "ws-laptop") }}
command = "distrobox-enter"
args = ["dev", "--", "$HOME/bin/emacsclient-merge", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Source {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
{{- else }}
command = "emacsclient"
args = ["--eval", "(ediff3 \"{{ "{{" }} .Destination {{ "}}" }}\" \"{{ "{{" }} .Source {{ "}}" }}\" \"{{ "{{" }} .Target {{ "}}" }}\")"]
{{- end }}
[data]
{{- if eq .chezmoi.hostname "pc-arch-jorik" }}
mainMonitorWidth=3840
mainMonitorHeight=2160
{{- else if(eq .chezmoi.hostname "tmpworkstation" "ws-laptop") }}
mainMonitorWidth=3840
mainMonitorHeight=2160
{{- else }}
mainMonitorWidth=1920
mainMonitorHeight=1080
{{- end }}
{{- if or (eq .chezmoi.hostname "tmpworkstation" "ws-laptop") (eq (trunc 4 .chezmoi.hostname) "work") }}
work=true
{{- else }}
work=false
{{- end }}