Shows a confirmation dialog before opening a book for the first time on the device.
Blocks the "wi-fi off" notification from appearing in the UI by filtering popup messages.
Renders a custom screensaver displaying book information in Kobo-style layout, including title, chapter, progress, and book cover. Supports dark mode, customizable fonts, and random quote selection from highlights.
Based on: PedroMachado1/Koreader.patches
Focus of modification: Enhanced wallpaper selection mechanism with support for both directory and file paths.
Expands the available text variables for screensavers (and status bar) by injecting custom tokens. Features a caching mechanism that saves the last active book's statistics, allowing variables to display correctly even when the device is suspended from the file manager or main menu.
Available Tokens:
- $L: Time read today (e.g., "1h 30min").
- $H: Estimated time left to finish the book based on reading statistics.
- $C: Current chapter title.
Modifies the folder cover display in Mosaic/Grid view. If a folder contains fewer than 4 books, it removes the empty placeholders/gaps, displaying only the available covers.
Based on: tmfsd/KOReader-patches
Focus of modification: Refactored internal function names to match standard KOReader naming conventions (e.g.,build_grid).
Compatibility Note: This refactor allows the Automatic Series Grouping patch to hook into and inherit this "no-blank" behavior for virtual series folders. Crucial: This patch must load before the series patch (ensure alphabetical precedence).
Monitors WiFi connection and displays a confirmation dialog after 30 seconds of continuous WiFi activity. Allows users to either keep WiFi enabled or turn it off with a single action. The dialog won't appear while the device is in screensaver mode, preventing unnecessary interruptions during sleep.
