OkayDave / barr

Barr is a status line style generator for LemonBar
MIT License
80 stars 8 forks source link

update & fix bspwm block #43

Closed tomsik68 closed 7 years ago

tomsik68 commented 7 years ago

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 :)

OkayDave commented 7 years ago

Brilliant, thanks for this!