ashish-yadav11 / dwmblocks

Rewrite of dwmblocks with added features including clickability, cursor hinting and color.
ISC License
212 stars 30 forks source link

Increasing delimiterendchar affects clickability/pathc execution #26

Closed jacktheritter closed 3 years ago

jacktheritter commented 3 years ago

When using dwmblocks with the default delimiterendchar of 10, every feature (including the clickability) works just fine. But after increasing the delimiterendchar symbolic constant to anything above 10 (in config.h as well as in dwm.c), clickability stops working even though all related features such as cursor hinting and manual signaling persist functioning. Does this happen due to recent updates or do you have to change anything else within dwm's or dwmblock's sourcecode?

ashish-yadav11 commented 3 years ago

Are you using dwmblocks with systray or without it? There hasn't been any changes. It might be a bug.

ashish-yadav11 commented 3 years ago

Without systray, I tested with DELIMITERENDCHAR set to 15 and it works for me.

ashish-yadav11 commented 3 years ago

It works with systray as well. Have you updated your color codes? Start dwmblocks from the terminal and see if you get any error messages.

ashish-yadav11 commented 3 years ago

Are you using the latest patch?

ashish-yadav11 commented 3 years ago

Are you using the latest patch?

ashish-yadav11 commented 3 years ago

Are you using the latest patch?

jacktheritter commented 3 years ago

I re-applied the latest (non-systray) patch, but apparently an old color sequence declaration was responsible for the behavior. If it's possible, it would probably helpful to add some sort of error handling for wrong usage of control sequences within the output of the pathu-scripts. Thanks for your support!