Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notch_display_height configuration #513

Open
net opened this issue Mar 4, 2024 · 2 comments
Open

notch_display_height configuration #513

net opened this issue Mar 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@net
Copy link

net commented Mar 4, 2024

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.

@FelixKratz FelixKratz added the enhancement New feature or request label Mar 4, 2024
@OJFord
Copy link

OJFord commented Apr 10, 2024

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.

@net
Copy link
Author

net commented Apr 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants