dotfiles/.chezmoi.toml.tmpl

67 lines
1.6 KiB
Cheetah
Raw Normal View History

{{- $passphrase := promptStringOnce . "passphrase" "passphrase" -}}
{{- $colorscheme := "rose-pine" -}}
{{- $osid := .chezmoi.os -}}
{{- if hasKey .chezmoi.osRelease "id" -}}
{{- $osid = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id -}}
{{- end -}}
2024-04-19 19:04:59 -07:00
2024-04-16 18:53:54 -07:00
progress = true
encryption = "gpg"
2024-04-16 18:53:54 -07:00
2024-07-29 19:01:11 -07:00
[diff]
{{ if lookPath "delta" -}}
2024-08-05 17:47:54 -07:00
command = "delta"
args = ["--syntax-theme", {{ $colorscheme | quote }}, "--features", "mellow-barbet", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
2024-08-05 17:56:59 -07:00
pager = "delta"
{{ end -}}
2024-07-29 19:01:11 -07:00
exclude = ["scripts"]
2024-04-19 19:04:59 -07:00
[gpg]
symmetric = true
args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache"]
[git]
autoPush = true
[hooks.read-source-state.pre]
command = ".local/share/chezmoi/.install-bw.sh"
2024-04-16 18:53:54 -07:00
[data]
2024-04-20 10:08:34 -07:00
{{ if lookPath "get-gpg-key" -}}
2024-08-05 17:47:54 -07:00
gpgKey = {{ output "get-gpg-key" | trim | quote }}
2024-04-22 19:33:07 -07:00
{{ end -}}
2024-04-19 19:04:59 -07:00
passphrase = {{ $passphrase | quote }}
osid = {{ $osid | quote }}
2024-04-22 19:33:07 -07:00
{{ if eq .chezmoi.hostname "marleycentre" -}}
2024-08-05 17:47:54 -07:00
isServer = true
2024-04-22 19:37:47 -07:00
{{ else }}
2024-08-05 17:47:54 -07:00
isServer = false
2024-04-22 19:37:47 -07:00
{{ end }}
2024-04-17 21:04:13 -07:00
[data.drapeau]
2024-08-05 17:46:51 -07:00
colorscheme = {{ $colorscheme | quote }}
2024-08-05 18:01:20 -07:00
rofi = "type-1"
2024-04-19 19:06:57 -07:00
2024-04-19 19:09:28 -07:00
# Defaults for when config is regenerated.
[data.drapeau.colors]
2024-08-05 17:46:51 -07:00
name = "catppuccin"
flavor = "frappe"
base00 = "#303446" # base
base01 = "#292c3c" # mantle
base02 = "#414559" # surface0
base03 = "#51576d" # surface1
base04 = "#626880" # surface2
base05 = "#c6d0f5" # text
base06 = "#f2d5cf" # rosewater
base07 = "#babbf1" # lavender
base08 = "#e78284" # red
base09 = "#ef9f76" # peach
base0A = "#e5c890" # yellow
base0B = "#a6d189" # green
base0C = "#81c8be" # teal
base0D = "#8caaee" # blue
base0E = "#ca9ee6" # mauve
base0F = "#eebebe" # flamingo