Deploy moonarch config overrides for walker, foot, and waybar

These configs are owned by their respective packages in /etc/xdg/ so
the XDG copy loop installs the package defaults instead of ours.
Overwrite with moonarch versions from /usr/share/moonarch/ after the
loop.
This commit is contained in:
nevaforget 2026-03-30 23:45:52 +02:00
parent 3acb71a210
commit 684d54e0c2

View File

@ -281,6 +281,15 @@ for src_dir in /etc/xdg/*/; do
log " + $app_name/"
done
# Overwrite configs owned by other packages with moonarch versions
log "Deploying moonarch config overrides..."
cp /usr/share/moonarch/walker-config.toml "$HOME/.config/walker/config.toml"
log " + walker/config.toml"
cp /usr/share/moonarch/foot/foot.ini "$HOME/.config/foot/foot.ini"
log " + foot/foot.ini"
cp /usr/share/moonarch/waybar/style.css "$HOME/.config/waybar/style.css"
log " + waybar/style.css"
# Deploy user defaults (overwrite, no existence check)
log "Deploying user config defaults to ~/.config/ (overwrite)..."
if [[ -d "$USER_DEFAULTS" ]]; then