bspwm JSON format has changed and bspwm block does not detect focused desktop properly. There was already an attempt to fix this(see #31), but that does not fix issue with primary monitor detection and travis didn't pass on the PR.
I updated the mock json string used by tests to reflect what is returned by bspwm 0.9.2 and then fixed the block so that all tests are passing again.
It's worth to mention I'm currently running this version of gem on my bspwm 0.9.2 desktop just fine.
P.S. Thanks for this project, I love configuring lemonbar via ruby :)
bspwm JSON format has changed and bspwm block does not detect focused desktop properly. There was already an attempt to fix this(see #31), but that does not fix issue with primary monitor detection and travis didn't pass on the PR.
I updated the mock json string used by tests to reflect what is returned by bspwm 0.9.2 and then fixed the block so that all tests are passing again.
It's worth to mention I'm currently running this version of gem on my bspwm 0.9.2 desktop just fine.
P.S. Thanks for this project, I love configuring lemonbar via ruby :)