I have a progress bar in which I want to have a different color based on a Lua code block. However I can't locate any section which allows me to define a color like %c and then write a Lua callback block.
How is this done?
For example, hypothetically let's say I want my progress bar to be blue if it is midnight->6am, red if 6am->noon, green if noon->6pm, purple if 6pm->midnight. It's easy to retrieve the clock, but I can't locate any custom code to allow me to edit the bar color.