10 Commits

Author SHA1 Message Date
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