View Single Post
Old 12-02-2023, 03:20 PM   #1
lumping-sugar66
Zealot
lumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trolls
 
lumping-sugar66's Avatar
 
Posts: 100
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
NickelNote - Show a custom note while the device is locked

Hello everyone,

Allow me to share NickelNote, a mod to show some notes on the cover view of your Kobo reader.
NickelNote will let you put a customized note on the front page to add a bit of personalization to your kobo. Add personal touches like kind words for gifts or contact numbers for forgetful moments.

This note will be visible in the full-screen view when the device is sleeping and powered down.

The source code and the release is available here:

https://github.com/onatbas/nickelnote

Made using NickelHook. Big thanks to geek1011 and shermp for their patience, assistance, and tools.


Usage:
  1. Place a text file under .adds/nickelnote named content.template. This html-like document is used for the content of the note.
    Example:
    Code:
    <span>John Doe</span><br />
    <span style="font-size: 32px">If found, Please return at</span><br />
    <span style="font-size: 32px;">+1 613 987 65 43</span>
  2. style.template is used for styling in QSS style format. QLabel is your main element.
  3. The mod can be turned on/off by changing the content and template file names. The missing file will stop rendering the note.
  4. v0.0.3: a pin.template file will overwrite the “Forgot Pin?” text.
  5. default styles of the sleep view will apply to the note among different devices.


Future Work:


Pull requests are welcome.
  1. Better QSS support.
  2. Alignment/Positioning options.
  3. More device testing. (Currently tested on Aura Edition 2, Clara 2E)
  4. Templating options for internal device data and widgets.
Attached Thumbnails
Click image for larger version

Name:	powerOff.jpg
Views:	742
Size:	77.9 KB
ID:	205189   Click image for larger version

Name:	powerOn.jpg
Views:	740
Size:	84.8 KB
ID:	205190   Click image for larger version

Name:	22D3AF1D-D2A5-498B-B826-6E081D2CAEFA.jpg
Views:	734
Size:	1.09 MB
ID:	205386  
Attached Files
File Type: zip NickelNote-0.0.4-6-g64d2b.zip (16.5 KB, 362 views)

Last edited by lumping-sugar66; 05-25-2024 at 08:26 AM.
lumping-sugar66 is offline   Reply With Quote