xbar icon indicating copy to clipboard operation
xbar copied to clipboard

How to detect menubar color?

Open locksoft opened this issue 3 months ago • 2 comments

Hi guys, I'm getting crazy trying to manage the menubar color change with Xbar. I'm using several colors and they don't show correctly if bar is white or black.

As you know the last versions of MacOS change the menubar dinamically according to the background image: if the top is light the bar is white(ish), if it's dark the bar is black(ish). It's also black with apps in full screen. All this indipendently from the light/dark system scheme.

Is there a way to detect it? I see several menubar apps manage correctly the change of colors so I guess there's a system value somewhere.

Thanks.

locksoft avatar Sep 03 '25 13:09 locksoft

i made a workaround. check this issue: #870

BartmanEH avatar Oct 24 '25 14:10 BartmanEH

Wow, it's very interesting, Barman. :) Too bad I've no idea how to implement it in xbar (I'm not a programmer). :(

locksoft avatar Oct 26 '25 16:10 locksoft