odknt / bspwmbar

A lightweight status bar for bspwm.
ISC License
92 stars 11 forks source link

Can't start bar #17

Closed spookykidmm closed 5 years ago

spookykidmm commented 5 years ago

I get an error: bspwm_connect(): Failed to connect to the socket Arch Linux bspwm: 0.9.7-1 bspwmbar: 0.4.1-2 This is my first time using bspwm, so I could just be being an idiot, please tell me if so!

odknt commented 5 years ago

Sorry, bspwmbar was failing to connect to bspwm socket if using default bspwm socket path.

mrgreen3 commented 5 years ago

Getting same error if running in a terminal, the README only tells you how to build bspwmbar not how to get it running/ configuring. Would be able to help more if I knew how to get it started????

mxmilkiib commented 5 years ago
$ ls /tmp/bsp*
/tmp/bspwm_1_0-socket
$ bspwmbar
bspwm_connect(): Failed to connect to the socket
bspwmbar_init(): Failed to init bspwmbar
zsh: segmentation fault (core dumped)  bspwmbar
mxmilkiib commented 5 years ago

Today the socket ends _0_0 and I get the same error message. I think the change is because before I was running Sway in another PTY.

odknt commented 5 years ago

I believe the issue fixed on master. I was getting bspwm socket path in the wrong way so occurred the issue when BSPWM_SOCKET is not set.

mxmilkiib commented 5 years ago

Indeed it is, apologies, thanks :)