geommer / yabar

A modern and lightweight status bar for X window managers.
MIT License
680 stars 49 forks source link

Colors only cleared if no format string #175

Closed j-dong closed 6 years ago

j-dong commented 6 years ago

For example, if I have a block that outputs "!Y bg 0xFFFF0000 Y! foo" and then "!Y Y! bar", the block will still be red, which is unexpected. This does not happen if there is no format string at all (e.g. "!Y bg 0xFFFF0000 Y! foo" and then "bar").

Should be an easy fix; I'll submit a pull request later.