2024-04-21 10:05:25 -07:00
|
|
|
{{- $passphrase := promptStringOnce . "passphrase" "passphrase" -}}
|
2024-09-21 12:13:25 -07:00
|
|
|
{{- $colorscheme := "rose-pine" -}}
|
2024-04-21 10:05:25 -07:00
|
|
|
|
|
|
|
{{- $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
|
2024-07-29 18:52:48 -07:00
|
|
|
encryption = "gpg"
|
2024-04-16 18:53:54 -07:00
|
|
|
|
2024-07-29 19:01:11 -07:00
|
|
|
[diff]
|
2024-07-29 18:52:48 -07:00
|
|
|
{{ 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"
|
2024-07-29 18:52:48 -07:00
|
|
|
{{ end -}}
|
2024-07-29 19:01:11 -07:00
|
|
|
exclude = ["scripts"]
|
2024-04-19 19:04:59 -07:00
|
|
|
|
|
|
|
[gpg]
|
|
|
|
symmetric = true
|
2024-10-05 10:02:21 -07:00
|
|
|
args = ["--batch", "--passphrase", {{ $passphrase | quote }}, "--no-symkey-cache", "--quiet"]
|
2024-04-19 19:04:59 -07:00
|
|
|
|
2024-09-28 09:52:56 -07:00
|
|
|
[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-10-04 21:36:27 -07:00
|
|
|
gpgKey = {{ output (joinPath .chezmoi.sourceDir "dot_local/bin/executable_get-gpg-key") | trim | quote }}
|
2024-04-19 19:04:59 -07:00
|
|
|
passphrase = {{ $passphrase | quote }}
|
2024-04-21 10:05:25 -07:00
|
|
|
osid = {{ $osid | quote }}
|
2024-09-29 19:39:22 -07:00
|
|
|
{{ if eq $osid "linux-debian" -}}
|
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
|