Commit Graph
15 Commits
Author SHA1 Message Date
nevaforget 93a899b5b0 moonarch-git: skip wlsunset in global enable loop
The blanket WantedBy-symlink loop installed a global-scope link for
wlsunset, which meant `systemctl --user disable` (the waybar nightlight
toggle's mechanism) could never persist — systemd warned about exactly
this scope mismatch on every disable. Filter survived reboots even when
the user turned it off.

PKGBUILD now skips wlsunset; moonarch.install drops the legacy symlink
on upgrade. pkgrel bumped so installed systems pick up the fix.
2026-05-04 14:14:41 +02:00
nevaforget 63c3e157e5 refactor(moonarch-git): own mpv.conf directly, drop staging+install hook
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
nevaforget ce5d17bf53 feat(moonarch-git): stage + deploy mpv configs via post_install
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
nevaforget 2f460f653a feat(install): drop paru --pkgbuilds fallback, registry is the only path
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
nevaforget b4653e0cd6 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
nevaforget 7b6579bef3 fix(moonarch-git): remove untracked walker theme files before upgrade
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
nevaforget b363e68c79 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
nevaforget 7becde905c refactor: remove user-defaults install from moonarch-git package
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
nevaforget 631c1fb9ff feat: install systemd user services to /etc/systemd/user/
- 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
nevaforget 4ceee9d66b 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
nevaforget 45d1c3b2c0 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
nevaforget 46e92aeefb 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
nevaforget 01d74b8b5e Fix file conflicts with foot and waybar packages 2026-03-30 22:33:11 +02:00
nevaforget c4878b9964 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
nevaforget 3f11da1867 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