refactor(moonarch-git): own mpv.conf directly, drop staging+install hook
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 12s
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 12s
Install mpv.conf straight to /etc/mpv/mpv.conf in package(), remove the /usr/share/moonarch/mpv/ staging and the post_install copy. modernz.conf is no longer shipped — overrides moved into mpv.conf via script-opts-append.
This commit is contained in:
parent
c4f702e3e5
commit
2566c0b44e
@ -195,11 +195,8 @@ package() {
|
||||
install -Dm644 defaults/xdg/swaync/style.css \
|
||||
"$pkgdir/usr/share/moonarch/swaync/style.css"
|
||||
|
||||
# --- mpv configs (deployed by .install, modernz.conf owned by mpv-modernz-git) ---
|
||||
install -Dm644 defaults/etc/mpv/mpv.conf \
|
||||
"$pkgdir/usr/share/moonarch/mpv/mpv.conf"
|
||||
install -Dm644 defaults/etc/mpv/script-opts/modernz.conf \
|
||||
"$pkgdir/usr/share/moonarch/mpv/modernz.conf"
|
||||
# --- mpv config (owned by moonarch-git; ModernZ color overrides via script-opts-append) ---
|
||||
install -Dm644 defaults/etc/mpv/mpv.conf "$pkgdir/etc/mpv/mpv.conf"
|
||||
|
||||
# --- Reference configs for greetd/moongreet (deployed by .install, not owned) ---
|
||||
install -Dm644 defaults/etc/greetd/config.toml \
|
||||
|
||||
@ -29,12 +29,6 @@ post_install() {
|
||||
cp /usr/share/moonarch/swaync/config.json /etc/xdg/swaync/config.json
|
||||
cp /usr/share/moonarch/swaync/style.css /etc/xdg/swaync/style.css
|
||||
|
||||
# Deploy mpv configs (modernz.conf owned by mpv-modernz-git, overwrite deliberately)
|
||||
install -Dm644 /usr/share/moonarch/mpv/mpv.conf /etc/mpv/mpv.conf
|
||||
if [ -d /etc/mpv/script-opts ]; then
|
||||
cp /usr/share/moonarch/mpv/modernz.conf /etc/mpv/script-opts/modernz.conf
|
||||
fi
|
||||
|
||||
# Deploy Walker config override to skel and existing user homes.
|
||||
# Only copies if user has no config yet — never overwrites manual edits.
|
||||
install -Dm644 /usr/share/moonarch/walker-config.toml \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user