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

Status bar not showing up #39

Closed bunri-dd closed 1 year ago

bunri-dd commented 1 year ago

yet when it's ran, all I have is a single square in place where it should be on the rightmost side of the status bar, like this

image

Any idea what could be the issue?

Operating System: Void Linux Kernel: 6.0.9_1 dwm-6.4 zsh 5.9

UtkarshVerma commented 1 year ago

Can you please try disabling clickability in dwmblocks and let me know if you get any status?

bunri-dd commented 1 year ago

Can you please try disabling clickability in dwmblocks and let me know if you get any status?

Just tried it, no change, running dwmblocks in terminal after killing it yields no output

bunri-dd commented 1 year ago

regular dwmblocks seems to be displaying just fine, I wonder where the issue is, I have all the scripts in my .local/bin folder and only run date for testing, no error messages but nothing displays on the bar

Crisis82 commented 1 year ago

I have this issue too. I'll give you some hints about the possible cause:

I'm on Void Linux too, and my scripts are under $HOME/.config/ .

Crisis82 commented 1 year ago

Ok I found the issue. If also you copied the sb-them script from @UtkarshVerma dotfiles linked in the repo, at the end of the file there is a case loop, but the STATUSBAR variable isn't set, so it exit without printing anything. You have to remove everything except for the line executed in the dwmblocks case (echo $args "^c$colors^ $1"). There is also another error I think, because with ^C doesn't interprets colors, so you have to put a lowercase c. Moreover the color associations in the script for me didn't work and made dwmblocks exit, so I substitued them with hexadecimal colors and everything worked. @pter1342 If you need help feel free to check my dotfiles repo that I'll upload later. For me the issue is closed.

bunri-dd commented 1 year ago

@Crisis82 that did the trick, thank you so much it works now