14 Commits

Author SHA1 Message Date
2566c0b44e 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
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.
2026-04-24 17:52:30 +02:00
bb36df30bc feat(moonarch-git): stage + deploy mpv configs via post_install
Some checks failed
Build and publish packages / build-and-publish (push) Failing after 9s
Stages defaults/etc/mpv/ to /usr/share/moonarch/mpv/ and copies
mpv.conf + modernz.conf into /etc/mpv/ on install. modernz.conf
deliberately overwrites the AUR default from mpv-modernz-git.
pkgrel bumped to 11.
2026-04-24 17:33:38 +02:00
b4ee733827 feat(install): drop paru --pkgbuilds fallback, registry is the only path
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 12s
The moonarch.install hook used to ensure /etc/paru.conf had Mode = arp
and a [moonarch-pkgbuilds] section. Both exist to let paru resolve
moonarch packages from a PKGBUILD repo — a second mechanism parallel
to the Arch registry, redundant now that the registry DB is stable.

Hook now strips the legacy config on next upgrade. Bump pkgrel so every
installed system picks up the cleanup.
2026-04-20 14:19:01 +02:00
0abdf15624 fix(moonarch-git): migrate cliphist.service to split text/image services
pre_upgrade hook removes old cliphist.service symlinks before the
package replaces it with cliphist-text and cliphist-image services.
2026-04-08 12:44:42 +02:00
f837ecbeb4 fix(moonarch-git): remove untracked walker theme files before upgrade
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 1s
Walker theme files at /etc/xdg/walker/themes/moonarch/ were deployed
manually before the package owned them, causing pacman file conflicts
on upgrade. pre_upgrade hook now removes untracked files so pacman
can take ownership cleanly.
2026-04-08 09:59:09 +02:00
8e2fb5a9f5 feat(moonarch-git): package battery conservation mode assets
Add udev rule and systemd service to PKGBUILD. Create /var/lib/moonarch
state directory and enable batsaver restore service on laptops in the
post-install hook.
2026-04-08 09:59:09 +02:00
b2cd82c6e4 refactor: remove user-defaults install from moonarch-git package
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 9s
The user-defaults mechanism (copying template files to ~/.config/)
was removed from moonarch. Waybar falls back to /etc/xdg/ via XDG
spec — no provisioning needed.
2026-04-07 17:29:20 +02:00
ccc2d163e7 feat: install systemd user services to /etc/systemd/user/
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 8s
- PKGBUILD installs services directly to /etc/systemd/user/ and creates
  WantedBy symlinks (no manual systemctl --user enable needed)
- Install hook cleans up legacy user-level service files from
  ~/.config/systemd/user/
2026-04-07 11:28:55 +02:00
31efc0f697 fix: clean up legacy user-level paru config on install/upgrade
transform.sh previously wrote [moonarch] to ~/.config/paru/paru.conf.
This silently overrides the system-level /etc/paru.conf, breaking
package resolution for moongreet-git, moonlock-git, moonset-git.
2026-04-07 11:20:19 +02:00
d626887123 fix: set up paru PKGBUILD repo config in install hook
Ensures paru can find moongreet-git, moonlock-git, moonset-git on
every install/upgrade. Breaks the bootstrap loop where moonarch-git
couldn't update itself because the paru config it delivers was missing.
2026-04-07 11:12:20 +02:00
928de71ead Move AUR/local deps to optdepends, deploy swaync via install hook
AUR packages can't be resolved by pacman when moonarch-git is
installed from the Gitea Package Registry. Move them to optdepends
since they're managed separately via packages/aur.txt.

swaync config files conflict with the swaync system package —
deploy via .install hook like foot and waybar configs.
2026-04-01 15:23:28 +02:00
6895fa55b4 Fix file conflicts with foot and waybar packages 2026-03-30 22:33:11 +02:00
d827c689b0 Avoid file conflict with walker package for config.toml
walker owns /etc/xdg/walker/config.toml and overwrites it on every
update. Instead of fighting for that path, deploy our config override
to user homes (~/.config/walker/) via the .install hook where XDG
lookup finds it first. Also fix stale rofi dependency → walker + elephant.
2026-03-30 19:40:14 +02:00
0b4fadb6d7 Add moonarch-git and sweet-cursors-git PKGBUILDs
moonarch-git packages all desktop environment defaults (XDG configs,
helper scripts, zsh config, wallpaper) for pacman-managed deployment.
Includes moonarch-update for simplified system maintenance.

sweet-cursors-git packages the Sweet cursor theme separately.
2026-03-29 17:15:05 +02:00