Bookends 5.7.0
Library modal
Adds search and categorisation for icons, tokens, and presets in a consistent UI.
- Filter by category (chips like Book, Progress, Session for tokens; Dynamic, Device, Reading for icons)
- Search by name
- All 2,865 icons in KOReader's core set are exposed and available to use
- The tokens modal previews what each token expands to in the current book, next to its description, before you insert it
New dynamic icon tokens
Two more icons that update with device state, joining %batt_icon and %wifi:
%light_icon: a lightbulb that fills when the frontlight is on%nightmode: a sun or moon glyph reflecting night-mode state
New reading-stats tokens
Eight new tokens sourced from KOReader's reading database:
%pages_today_book/%time_today_book: today's reading on the current book (versus the existing%pages_today/%time_todaywhich cover all books)%pages_week_book/%time_week_book: current book in the rolling last 7 days%streak: consecutive days reading any book%book_streak: consecutive days reading the current book%total_read_time: lifetime reading time across all books%books_finished: lifetime count of finished books
All work in conditionals too: [if:streak>=7], [if:books_finished>=10], and so on.
Fixes
- Progress bars no longer duplicate or appear on the wrong row when a line contains an embedded line break.
- Up/down nudge arrows updated. The bundled
koreader/icons/chevron.down.svgfile is no longer needed and can be deleted.