Monday, October 23, 2023
HomeApplemenu bar - The best way to detect the colour of the...

menu bar – The best way to detect the colour of the menubar textual content?


I am utilizing Swiftbar to show a menu. My menu has an SF picture because the clickable merchandise, which I’ve rendered utilizing palette format, versus letting Swiftbar textual content decide up regardless of the menubar textual content color is.

So, if the wallpaper picture adjustments to a darker picture, the menu bar textual content adjustments to be white; if lighter, the menu bar textual content adjustments to be white. However, as a result of my SF picture is coded to be black, it implies that it would not work so properly when the wallpaper adjustments.

What I would love to do is examine what color the menu bar textual content is after each wallpaper change, and use that color when coding the palette color for the SF picture. Is there a method to uncover this by way of command line instruction?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments