View Single Post
Old 09-15-2023, 08:44 AM   #1113
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,964
Karma: 71261339
Join Date: Feb 2009
Device: Kobo Clara 2E
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.

I get 2 messages when I click on an entry. I tried getting rid of the messages by using ":quiet", but then the light level was set and I didn't get the messages, but dark mode was not turned on/off. How can I make these quiet?

Thank you.
John F is offline   Reply With Quote