I may be looking at this wrong, so I’m open to other options…
In KLWP I want to set a default color value on a shape, whose color is set by an mi(status) formula.
The color doesn’t always update from the formula though - I think it fails if play started while the screen was off - so I’ve wrapped that formula in an If that triggers on seconds/modulo.
Kode is currently:
$if(df(ss)%20, if(mi(state)=“PLAYING”, gv(col2), gv(colgryd)),if(mi(state)=“PLAYING”, gv(col2), gv(colgryd)))$
col2 and colgryd are global Color variables.
This works, but is setting the color every second, which feels inefficient and a battery drain.
Questions:
Is battery drain a worthwhile consideration on this (one of several formulas in my wallpaper)?
Is there a default color setting, which would let me skip the If False part of the formula? (Leaving the If False part out currently causes the shape to turn white)