UtkarshVerma / dwmblocks-async

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

click works only for the first script #17

Closed Mohamed-Fathy-Salah closed 2 years ago

Mohamed-Fathy-Salah commented 2 years ago

hi. i enabled the click ability in config.h and it worked (runs the scripts) but BLOCK_BOTTON only works for the first script pic-full-220224-0939-37 thanks in advance.

UtkarshVerma commented 2 years ago

Clickability works fine. You could try referring to my statusbar scripts and maybe you can figure it out.

The action of clickability is simple. You click on a block, dwm sends a signal to dwmblocks. dwmblocks executes the block script with BLOCK_BUTTON set.

If you're still facing issues, please elaborate.

Mohamed-Fathy-Salah commented 2 years ago

found the error. use sh instead of zsh :smile: thanks for the reply.