-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant click blocks #11
Comments
Did you patch your |
yes sir i already did. i use this to patch dwm. i use the statuscmd-status2d the one wtih signal. i have this on my dwm
|
You've applied the patch for status2d, but you need to change a line in the source code of return statuspid;
}
}
- if (!(fp = popen("pidof -s "STATUSBAR, "r")))
+ if (!(fp = popen("pgrep -o "STATUSBAR, "r")))
return -1;
fgets(buf, sizeof(buf), fp);
pclose(fp); This is covered in the README. It you do this properly, clickability will start working. |
yea i already did that:
btw im using this on fresh dwm 6.3 no other patch atm only this. |
oops i think the Edit: Fixed! thank you sir 😊 |
Yeah, double check that command as it is responsible for sending click events to dwmblocks. Also, for debugging, ensure that you only have one instance of dwmblocks running by using
And then launching dwmblocks. |
Hey sorry to reopen this but I'm having the same problem and changing pgrep -s to pgrep -o doesn't seem to fix it.
Here is the script "sb-test":
I added a second case statement with the $BUTTON variable since that's what it's used on the example on the page for the statuscmd patch but it didn't work either.
I tested everything on a fresh install of dwm, only the statuscmd patch applied. |
It should work with the statsuscmd patch and changing the line I mentioned in the README to You could try debugging this:
Check if you get any updates in strace on clicking on the statusbar. |
References ---------- [1] UtkarshVerma/dwmblocks-async#11
hi, thanks for your work, everythings good but i'm having problem with clicking on the blocks as it does nothing. here is my config:
and here is the script for
sb-news
i use this statuscmd-status2d-with-signal
did i do it all correctly?😅 thanks for the help
Edit: distro- Void linux
The text was updated successfully, but these errors were encountered: