ashish-yadav11 / dwmblocks

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

Error while executing dwmblocks #17

Closed burton11 closed 3 years ago

burton11 commented 3 years ago

After compiling dwmblocks and trying to to run it , I get the following error: getcmd - child - execv : No such file or directory.

I don't seem to find what the issue is here exactly.

ashish-yadav11 commented 3 years ago

Have you changed the PATH variable at the top of your blocks.h. It should point to the folder where your scripts are saved.

burton11 commented 3 years ago

doesn't seem to work, how do you define it correctly?

ashish-yadav11 commented 3 years ago

Send the line that you have in your blocks.h

burton11 commented 3 years ago

I basically just substituted your path with mine:

define PATH(name) "/home/burton/dwmblocks/blocks/"name

after this i try to run dwmblocks in the terminal and the error still persists. i just cloned the repo and build it, didn't move the file anywhere.

ashish-yadav11 commented 3 years ago

have you run make again after changing the file? Are you sure /home/burton/dwmblocks/blocks/ points to the folder where the scripts are located? Run ls /home/burton/dwmblocks/blocks/.

burton11 commented 3 years ago

You were right I forgot to run make after I made the changes and it works now , thank you very very much !