Skip to content

The new notch handling mechanism is problematic for menubars such as simple-bar #1060

@HeySora

Description

@HeySora

The latest version of yabai can now calculate the notch height, and automatically put windows below it, which is super cool.

However, in my .yabairc, I have yabai -m config external_bar all:32:0.

The issue is that it creates a 32px gap below the notch for the bar, even though the bar fits alongside the notch.
I could set the gap to 0 and call it a day, however now external displays cannot show the bar at all.

Would it be possible to make an external_bar variant for notched displays? So I can set a gap of 0 for the MacBook display, and 32 for the external ones.

(Alternatively, I guess that subtracting the top value of external_bar with the notch height for notched displays would work too)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions