I really envied the PW2+ feature of displaying current time while reading.
There was this extension called showtime by @Hanspeter
https://www.mobileread.com/forums/sh...d.php?t=282590 but it had two flaws:
- it was using default eips font for printing the time
- it was not updating on minute-change, just when the page is turned.
And as I've recently discovered (masochistic?) joy of writing bash scripts here's another extension to do so.
It should have no influence on the battery, as the main process uses lipc-event-wait, and child processes are being suspended when no clock display is needed.
It has still few bugs that should be corrected soon:
- clock show once when the script is started (it disappears after titlebar refresh)
- sometimes clock persists after exiting a book (it also disappears after screen refresh)
- in rare occasions clock is not displayed properly (some digits are missing)
The script currently will work for PW1 only, but should be easily portable to KT (resizing digits+finding new XPOS/YPOS values).