Closed yuandi42 closed 2 years ago
You need to apply the statuscmd patch to dwm as mentioned in the README.
Well, as I mentioned above, I've patched statuscmd, and modified getstatusbarpid()
.
I guess the wrong length of status bar may be caused by some bugs in drawbar
function in dwm.c
, but I still have no idea why those strange squares appear in blocks.
Okay, I just figured out that those problems caused by patches conflict. Fixed after modified my build of dwm. Thank you anyway.
Above is my statusbar. And as the screenshot can speak itself, the statusbar is wrongly coverd and squares appear in blocks.
For the first problem, I changed
#define CMDLENGTH
from60
to100
, and it didn't worked.For the second problem, I've looked through #13, but unfortunately I don't use bakkeby/dwm-flexipatch, so his solution doesn't work for me (while I've patched
statuscmd
and correctedgetstatusbarpid()
).Here's my
config.h
fordwmblocks
And my build of dwm is here.