FelixKratz / SketchyBar

A highly customizable macOS status bar replacement

Home Page:https://felixkratz.github.io/SketchyBar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notch_display_height configuration

net opened this issue · comments

commented

I'm using SketchyBar only on the top left, and using the native macOS menu bar on the right. I have styled SketchyBar to match perfectly with the macOS menu bar.

Screenshot 2024-03-04 at 11 18 12

On displays with a notch, the native macOS menu bar is taller than usual (with my display and scale, 42px). This means that, when using multiple displays along side a notched display, to match, SketchyBar needs to be shorter on non-notched displays and taller on notched displays.

notch_offset doesn't fully help with this, as the issue is the height of the bar itself, not its y-offset. This is what using notch_offset accomplishes:

Screenshot 2024-03-04 at 11 38 56

You can see the top of the macOS menubar peeking through on the left.

What would be great is a notch_display_height property that would set the height of the bar only on notched displays.

If you're using yabai consider making it transparent to stop the peeking.

But 👍🏻, I would like a shorter bar when possible (i.e. no notch to make it look weird) too.

commented

@OJFord the right side of my bar is the native menu bar, so setting menubar_opacity wouldn't help in my case.