Quote:
Originally Posted by JSWolf
@-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