sipi / dwm-status2d

patch for DWM that allows colors and draw rectangle in the DWM status bar
GNU General Public License v3.0
20 stars 3 forks source link

Consider merging the swap/save/restore tags. #14

Open tdukv opened 1 year ago

tdukv commented 1 year ago

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.

sipi commented 1 year ago

Hi @tdukv, can you create a pull request ?