UtkarshVerma / dwmblocks-async

An efficient, lean, and asynchronous status feed generator for dwm.
GNU General Public License v2.0
224 stars 87 forks source link

Feedback needed for new changes in `new-org` branch #45

Closed UtkarshVerma closed 1 year ago

UtkarshVerma commented 1 year ago

I think I have found a fix #24 . It was pretty simple looking back at it. Anyhow, the fix is in the new-org branch. I was playing around with the build system and code organization, so haven't merged it to main yet.

I'm facing the following problem currently, and feedback and help would be highly appreciated:

UtkarshVerma commented 1 year ago

Changes have been merged to main.

hillyu commented 10 months ago

Hey, I think the block script still can be blocked from running, maybe we can just kill the process instead when executing the block, something like: int block_execute(block const block, const uint8_t button) { // Ensure only one child process exists per block at an instance. if (block->fork_pid != -1) { / return 0; */ kill(block->fork_pid, 9); }