Skip to content

v0.1.2 — fix today.json bootstrap

Choose a tag to compare

@mrCode mrCode released this 23 Apr 05:58
· 137 commits to master since this release

Bug fix

  • omarchy-prayer today/next/status no longer crash with Errno::ENOENT on a fresh install when ~/.local/state/omarchy-prayer/today.json doesn't exist yet. The read commands now auto-bootstrap by invoking omarchy-prayer-schedule (first-run config + Aladhan/offline times) on demand.
  • Also fixes the silent-stale-times case: if the systemd timer was inactive across a day boundary, the cached today.json would still be served. Now the date in the cache is checked against today and re-bootstrapped if stale.
  • On bootstrap failure, prints a friendly hint to enable the timer or run omarchy-prayer refresh instead of a Ruby stack trace.

Reported by ecleel.