View Single Post
Old 06-17-2020, 08:23 AM   #120
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by jackie_w View Post
Building on @DevonHess's request ...

Might it be possible to introduce some kind of generic 'set Theme' feature where several (user-definable) config items are set with a single menu item. For example to set a NightMode theme I may want to change several config variables simultaneously:
Code:
InvertScreen=True
ColorSetting=1500
FrontLightLevel=1
numPartialUpdatePageTurns=-1
You should be able to use the "chain" mechanism for that.

Basically, something like:
Code:
menu_item : main : Theme label : <first setting> : <first arg>
chain_success : <second setting> : <second arg>
chain_success : <third setting> : <third arg>
...
menu_item : main : Another menu item : <another setting> : <another arg>
sherman is offline   Reply With Quote