refractor: on chezmoi

Add multiple variables in chezmoi.toml, apply a more detailed ignore rule

Use of chezmoi scripts

Use Neogit for default git GUI (TUI)

Integrate chezmoi with age
This commit is contained in:
js0ny 2025-11-08 07:24:43 +00:00
parent 5921775239
commit 2a1127bf10
38 changed files with 988 additions and 129 deletions

View file

@ -0,0 +1,17 @@
#!/bin/sh
src=~/.dotfiles/misc/firefox/search.json.mozlz4
dest=~/.mozilla/firefox/*.default/search.json.mozlz4
if ! cmp -s "$src" "$dest" 2>/dev/null; then
cp "$src" "$dest"
fi
{{ if .wheel }}
src=~/.dotfiles/misc/firefox/policies.json
dest=/etc/firefox/policies/policies.json
if ! cmp -s "$src" "$dest" 2>/dev/null; then
sudo cp "$src" "$dest"
fi
{{ end }}