View Single Post
Old 09-16-2023, 07:40 AM   #1128
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
Quote:
Originally Posted by hatuluang View Post
Adding the "quiet" is work and eliminating the display of number code. Now the pop-up mesages appear only to show Enable or Disable Dark Mode during Dark Mode execution.

Code:
menu_item :reader   :Dark Mode          :nickel_setting :toggle :dark_mode
     chain_success  :cmd_spawn  :quiet :ioctl /dev/ntx_io 241 -v 10
	 chain_success  :skip :2
	 chain_failure  :dbg_toast :Dark Mode switch!
	 chain_success  :cmd_spawn :quiet :ioctl /dev/ntx_io 241 -v 15
When I tried this code, it does toggle the dark mode, but it always seems to set the light level to 10?
John F is offline   Reply With Quote