dotfiles/.chezmoi.toml.tmpl
punkfairie 4cdb15a1b6
Update .chezmoi.toml
Add .install-bw.sh
Update .ssh/id_ed25519.pub
Update .ssh/id_ed25519
2024-09-28 09:52:56 -07:00

66 lines
1.6 KiB
Cheetah

{{- $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 -}}
progress = true
encryption = "gpg"
[diff]
{{ if lookPath "delta" -}}
command = "delta"
args = ["--syntax-theme", {{ $colorscheme | quote }}, "--features", "mellow-barbet", "{{ "{{" }} .Destination {{ "}}" }}", "{{ "{{" }} .Target {{ "}}" }}"]
pager = "delta"
{{ end -}}
exclude = ["scripts"]
[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"
[data]
{{ if lookPath "get-gpg-key" -}}
gpgKey = {{ output "get-gpg-key" | trim | quote }}
{{ end -}}
passphrase = {{ $passphrase | quote }}
osid = {{ $osid | quote }}
{{ if eq .chezmoi.hostname "marleycentre" -}}
isServer = true
{{ else }}
isServer = false
{{ end }}
[data.drapeau]
colorscheme = {{ $colorscheme | quote }}
rofi = "type-1"
# Defaults for when config is regenerated.
[data.drapeau.colors]
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