I added these tags as a sub patch long ago for personal use, but do not use status2d anymore.
If you find them useful consider merging them into the main patch. They are hosted on the suckless wiki.
Tags description(from suckless)
^w^: Swaps the current foreground/background colors. Useful when drawing multiple rectangles on top of one another.
^v^ Saves the current color scheme so it can be restored later with the ^t^ tag. This way a script can modify color in the middle of the bar agnostic to what color was set previously.
^t^ Restores the last color scheme saved by the ^v^ tag.
I added these tags as a sub patch long ago for personal use, but do not use status2d anymore. If you find them useful consider merging them into the main patch. They are hosted on the suckless wiki.
Tags description(from suckless) ^w^: Swaps the current foreground/background colors. Useful when drawing multiple rectangles on top of one another. ^v^ Saves the current color scheme so it can be restored later with the ^t^ tag. This way a script can modify color in the middle of the bar agnostic to what color was set previously. ^t^ Restores the last color scheme saved by the ^v^ tag.