View Single Post
Old 09-16-2023, 03:38 AM   #1126
hatuluang
Teluk Biru
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 156
Karma: 348662
Join Date: Jan 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
@-stepan- try the following code. If I am correct, it will not display the code number.

Code:
menu_item : reader : Frontlight On : cmd_spawn : quiet :ioctl /dev/ntx_io 241 -v 18
menu_item : reader : Frontlight Off : cmd_spawn : quiet : ioctl /dev/ntx_io 241 -v 0
Thanks Jon,

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
hatuluang is offline   Reply With Quote