Skip to content

Warn when a window manager leaves windows under the bar #440

Closed

Description

@M4n0x

Problem

With AeroSpace, yabai or OmniWM running, StableBar leaves window placement to the manager. Setup only says "Set gaps.outer.top in AeroSpace to leave room for the bar", and Settings says to leave Keep windows clear off when a manager sets gaps. Nothing checks that the gap is actually there.

With AeroSpace's default configuration (no ~/.aerospace.toml), gaps.outer.top is 0, so tiled windows start under the bar. Turning on Keep windows clear doesn't help: AeroSpace moves the windows back, so the setting looks broken.

Found in a fresh test account on macOS 27.2 with AeroSpace 0.21.3-Beta running and no AeroSpace config: the bar covered the top of the windows, and Keep windows clear appeared to do nothing.

Proposal

When AeroSpace, yabai or OmniWM is running, check whether the windows it manages start under the bar. StableBar already reads window frames through Accessibility for window clearance. If they do, show a warning in setup and in Settings → General → Windows and notifications, with the exact setting for that manager at the bar's height:

  • AeroSpace: [gaps] outer.top = 40 in ~/.aerospace.toml, then aerospace reload-config.
  • yabai: yabai -m config external_bar all:40:0.
  • OmniWM: its top gap.

Checking window frames works the same way for all three managers. Reading their configuration doesn't: AeroSpace's aerospace config --get can't report gaps in 0.21.3-Beta, so it would mean parsing TOML, including per-monitor values. StableBar never edits the manager's configuration.

Possible today

Set the gap by hand, as the guide describes in Keeping windows clear of the bar.

Related

Triaged by Claude Code (claude-opus-5-5).

Activity

  1. added
    enhancement
    P3
    on Nov 7, 2026
  2. self-assigned this
    on Nov 16, 2026
  3. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3enhancementreleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions