sipi / dwm-status2d

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

dwm-status2d fails to work against current git master #1

Closed pickfire closed 7 years ago

sipi commented 9 years ago

Yes, the patch works with the revision 35db6d as indicated by his name (dwm-r35db6d-status2d.diff). I will build a new patch for this last revision but it is not trivial, the last commit impacts the code of this patch.

pickfire commented 9 years ago

Yeah, maybe you could use the new functions in drw.c.

pickfire commented 9 years ago

I think I have created a broken patch that works but doesn't display the title and status correctly.

http://ix.io/lJL

sipi commented 9 years ago

I will test this patch as soon as possible. But your diff is only about the dwm.c file and I'm sure that the main modifications have to be done in the drw.c file.

pickfire commented 9 years ago

They had already done the drw.c which is drw_text, drw_rect and drw_setscheme. Only drw_setscheme is different from your old x_setcolor which takes ClrScheme instead of Clr as the parameter.

It seems like they are going to do dwmutils that can change the color on the fly. Look at the slcon2 video.