View Single Post
Old 07-15-2019, 12:20 PM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,810
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O, Kobo Libra 2
There is already some functionality to set a custom screensaver message. Like you said you could extend that with a few optional variables.

See https://github.com/koreader/koreader...nsaver.lua#L68 for an example of how that works.

Sticking "(93% read)" in the default message should be fine too.

Basically you make your changes and open a PR to get them included in the code, or if you want to discuss it before opening a PR you can post diffs in an issue or here on the forum.
Frenzie is online now   Reply With Quote