Quote:
Originally Posted by John F
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.