View Single Post
Old 09-19-2023, 07:33 AM   #1134
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,957
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by John F View Post
This is what I did to toggle dark mode and set a light level:

Code:
   menu_item :reader   :Dark Mode On       :nickel_setting     :enable :dark_mode
                         chain_always :cmd_spawn : ioctl /dev/ntx_io 241 -v 10
   menu_item :reader   :Dark Mode Off       :nickel_setting    :disable :dark_mode
                         chain_always :cmd_spawn : ioctl /dev/ntx_io 241 -v 30
and it works.

...
In addition to the UI not being updated (previously mentioned), sometimes when I wake from sleep, the light level is set to the last UI (config file setting?) value.
John F is offline   Reply With Quote