Skip to content

update & fix bspwm block#43

Merged
OkayDave merged 3 commits into
OkayDave:masterfrom
tomsik68:feature/bspwm
Feb 9, 2017
Merged

update & fix bspwm block#43
OkayDave merged 3 commits into
OkayDave:masterfrom
tomsik68:feature/bspwm

Conversation

@tomsik68

@tomsik68 tomsik68 commented Feb 8, 2017

Copy link
Copy Markdown

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

Signed-off-by: Tomas Jasek <tomsik68@gmail.com>
Signed-off-by: Tomas Jasek <tomsik68@gmail.com>
Signed-off-by: Tomas Jasek <tomsik68@gmail.com>
@OkayDave

OkayDave commented Feb 9, 2017

Copy link
Copy Markdown
Owner

Brilliant, thanks for this!

@OkayDave OkayDave changed the base branch from feature/bspwm to master February 9, 2017 08:40
@OkayDave OkayDave merged commit 1cb507d into OkayDave:master Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants