pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
505 stars 24 forks source link

Dark Mode Error (Libra H20) Firm. 4.3 #116

Closed ZeFish closed 2 years ago

ZeFish commented 2 years ago

First thanks for the nice hack you have made here!! It does save me from buying another reader to get that small but so fun feature!

Dark Mode

It seems that on my Libra H20 the Dark Mode doesn't work I get that error. Hopefully it mean something to you :) PXL_20211123_173321965 MP My reader use the software 4.30.18838 (9bbb7fadc79, 10/30/21)

Invert Mode

Well that one seems to work but I need to reboot the device everytime. I know this is the prior version of "Dark Mode" but for now it get the job done.

Here's my config menu_item :reader :Invert Screen :nickel_setting :toggle :invert menu_item :reader :Dark Mode :nickel_setting :toggle :dark_mode menu_item :main :Invert Screen :nickel_setting :toggle :invert menu_item :main :Dark Mode :nickel_setting :toggle :dark_mode

jeff47 commented 2 years ago

Same issue - dark_mode doesn't work on the Libra H2O. As you mentioned, Invert does work but requires a reboot.

To make your workaround a little easier, you can chain together the actions as described here: https://www.mobileread.com/forums/showthread.php?t=341175.

You can put this in your config:

menu_item :reader :Invert Screen   :nickel_setting :toggle:invert
    chain_success                  :power          :reboot
pgaskin commented 2 years ago

That's because I haven't released the dark_mode option yet. I still need to figure out a few things regarding applying the settings instantly.

pgaskin commented 2 years ago

fixed in 7c82cc4450c66af003f1a7c9825006b05606477f and 749483b883448c9f4df538f144a5e26f7f244e46