Skip to content

Open the window manager's configuration from the gap warning #846

Closed

Description

@Seb-GRAF

Problem

When AeroSpace, yabai or OmniWM leaves windows under the bar, Settings → General → Windows and notifications and setup's last step show the setting to add, such as "Set outer.top = 14 under [gaps] in ~/.aerospace.toml, then run aerospace reload-config.", with Check Again. To act on it, you have to find and open that file yourself.

The path is also fixed text. AeroSpace reads ~/.aerospace.toml or $XDG_CONFIG_HOME/aerospace/aerospace.toml (by default ~/.config/aerospace/aerospace.toml). With the second, the warning names a file that doesn't exist. Seen on a Mac whose only AeroSpace config is ~/.config/aerospace/aerospace.toml.

Proposal

Add a button next to Check Again, in Settings and in setup, that opens the manager's config file in its default app, as Settings → General already does for StableBar's own configuration (BarStore.openConfiguration). Name the same file in the warning.

  • AeroSpace: aerospace config --config-path prints the file it loaded.
  • yabai: YabaiSetupSignals.configuration(home:xdg:) in SetupWorkspaceConnection.swift already finds the file yabai uses.
  • OmniWM: the warning says "OmniWM's settings.toml" without a path; its location needs checking.

StableBar still doesn't write the file (#440): you make the change, reload the manager, then click Check Again.

Open questions:

  • With no config file, AeroSpace runs its built-in defaults, and a new file with only [gaps] replaces them, key bindings included (feat: warn when a window manager leaves windows under the bar #739). Hide the button, show the folder, or point to AeroSpace's default config?
  • A .toml file may have no default app on a fresh Mac. Fall back to TextEdit?

Possible today

Open the file by hand, add the line the warning shows, run aerospace reload-config, then click Check Again.

Related

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

Activity

  1. added
    enhancement
    on Nov 19, 2026
  2. 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

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions