Skip to content

Single bar - two monitors #213

Closed Answered by PhrantiK
PhrantiK asked this question in Q&A
Jul 7, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

I wasn't going to bother you with this as I'm the only one that has asked but about a month ago I managed to brute force a patch that made the space items highlight correctly (IMHO! :)

I just updated it for the recent commit:

https://gist.github.com/PhrantiK/2d88344ec3abd55bd5715dc1cc7d52e7

I'm a monkey with a typewriter so not sure if it's useful but sharing it anyway.

The change to this function:

uint32_t display_active_display_adid(void) {

Came about because for some inexplicable reason the ids & indexes on my monitors swapped randomly when waking from sleep. From this:

[{
        "id":1,
        "uuid":"3AB1D648-6014-498C-…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@FelixKratz
Comment options

@PhrantiK
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PhrantiK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #212 on July 07, 2022 12:02.