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

Update patch for HEAD bb3bd6f & use suckless standard naming convention #3

Closed lhark closed 7 years ago

lhark commented 7 years ago

I tried to reduce the general footprint of the patch by getting rid of the helper functions in drw.c. That also had the positive side effect of adding utf8 support to the status bar as we're now using drw_text to draw the text. To replace the behavior of x_set_color i create an additional scheme which is used to store the foreground color of whatever is being drawn. This pull request should resolve #1 and #2

sipi commented 7 years ago

Thank you @lhark for this new patch version.