Fix file conflicts with foot and waybar packages

This commit is contained in:
2026-03-30 22:33:11 +02:00
parent d827c689b0
commit 6895fa55b4
2 changed files with 14 additions and 0 deletions
+8
View File
@@ -115,6 +115,8 @@ package() {
while IFS= read -r -d '' file; do
local _rel="${file#"$_xdg_src/"}"
[[ "$_rel" == "walker/config.toml" ]] && continue
[[ "$_rel" == "foot/foot.ini" ]] && continue
[[ "$_rel" == "waybar/style.css" ]] && continue
if [[ "$file" == *.sh ]]; then
install -Dm755 "$file" "$pkgdir/etc/xdg/$_rel"
else
@@ -155,6 +157,12 @@ package() {
install -Dm644 defaults/xdg/walker/config.toml \
"$pkgdir/usr/share/moonarch/walker-config.toml"
# --- Configs owned by other packages (deployed by .install, not owned here) ---
install -Dm644 defaults/xdg/foot/foot.ini \
"$pkgdir/usr/share/moonarch/foot/foot.ini"
install -Dm644 defaults/xdg/waybar/style.css \
"$pkgdir/usr/share/moonarch/waybar/style.css"
# --- Reference configs for greetd/moongreet (deployed by .install, not owned) ---
install -Dm644 defaults/etc/greetd/config.toml \
"$pkgdir/usr/share/moonarch/greetd/config.toml"