Mercurial > dotfiles
comparison .chezmoi.toml.tmpl @ 714:587765960227
feat: set global dark option
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 30 Nov 2022 18:11:07 +0100 |
parents | 0b30faf23a07 |
children |
comparison
equal
deleted
inserted
replaced
713:45c34cfecc3e | 714:587765960227 |
---|---|
24 {{- $font_size = .font_size -}} | 24 {{- $font_size = .font_size -}} |
25 {{- else -}} | 25 {{- else -}} |
26 {{- $font_size = promptString "font_size" -}} | 26 {{- $font_size = promptString "font_size" -}} |
27 {{- end -}} | 27 {{- end -}} |
28 | 28 |
29 {{- $dark := "" -}} | |
30 {{- if (hasKey . "dark") -}} | |
31 {{- $dark = .dark -}} | |
32 {{- else -}} | |
33 {{- $dark = promptBool "dark" -}} | |
34 {{- end -}} | |
35 | |
29 [data] | 36 [data] |
30 email = {{ $email | quote }} | 37 email = {{ $email | quote }} |
31 name = {{ $name | quote }} | 38 name = {{ $name | quote }} |
32 signingkey = {{ $signingkey | quote }} | 39 signingkey = {{ $signingkey | quote }} |
33 font_size = {{ $font_size | quote }} | 40 font_size = {{ $font_size | quote }} |
41 dark = {{ $dark }} | |
34 | 42 |
35 [merge] | 43 [merge] |
36 command = "nvim" | 44 command = "nvim" |
37 args = ["-d", {{ "{{ .Destination }}" | quote }}, {{ "{{ .Source }}" | quote }}, {{ "{{ .Target }}" | quote }}] | 45 args = ["-d", {{ "{{ .Destination }}" | quote }}, {{ "{{ .Source }}" | quote }}, {{ "{{ .Target }}" | quote }}] |
38 | 46 |