Keep the status bar clock minute-accurate, including while the panel is dark

- Add a lightweight statusbar_clock job (sxmo_run_aligned.sh 60 running
  sxmo_hook_statusbar.sh time) to all three sxmo_hook_start.sh copies while
  the heavier statusbar_periodics loop stays at 300 s.
- Let the time action refresh 099-time even when the screen is blanked; only
  the xsetroot publish remains gated by ! is_screen_dark, so the native
  desktop clock is redrawn as soon as the panel wakes.
- Guard the job and the time action in check-rebuild.sh, update AGENTS,
  MANUAL and the a1108 changelog, redeploy to the connected phone and
  rebuild the a1108 / dejavu image.
This commit is contained in:
Luxferre committed 2026-11-08 10:47:37 +02:00
1 parent fb091749f0
commit 4963022c10
8 files changed
+49 -4

No files matched your search

+9
View File
@@ -39,6 +39,15 @@ release metadata are generated by `scripts/version.sh` as `a1108` / `dejavu`.
after a successful NTP burst, republishing the clock and charge icon
immediately when `chronyd` steps the clock instead of waiting for the next
300 s periodic tick. `scripts/check-rebuild.sh` guards all four paths.
- **Minute-accurate status bar clock**: the full `statusbar_periodics` loop
stays at 300 s (no extra modem or NetworkManager polls), but a lightweight
`statusbar_clock` job now runs `sxmo_hook_statusbar.sh time` through
`sxmo_run_aligned.sh 60` at minute boundaries. The `time` action refreshes
`099-time` even while the panel is dark (only the `xsetroot` publish stays
gated), so the clock is current at unlock and dmenu reads the right value;
redrawing the root name also refreshes the native desktop clock. All three
`sxmo_hook_start.sh` copies were updated and `scripts/check-rebuild.sh`
guards the job.
- **Live phone updated and verified**: network time was synced on the
connected device (the RTC had fallen back to 1970, which also broke TLS
certificate validation), all installed packages were refreshed with