Skip to content

Let the workspace widget show workspaces in a configured order #977

Backlog

Description

@lucacome

Problem

The workspace cells can only appear in alphabetical order. I want them in a custom order, for example the bottom keyboard row Z X C V B N M, and no configuration can do that.

Two things stand in the way:

  • StableBar always sorts the snapshot by name. workspaceSnapshot re-sorts every AeroSpace snapshot with localizedStandardCompare (Sources/StableBar/Workspaces/Workspaces.swift:191), so any order coming from the window manager is discarded before the widget draws it.
  • AeroSpace has no order setting of its own; ordering workspaces is an open request (#1816).

Renaming workspaces is the only lever, and StableBar sorts the names anyway, so it cannot express Z X C V B N M.

StableBar 0.20.0 (Stable, build 1774), AeroSpace 0.21.3-Beta.

Proposal

Add an order list to the workspace configuration, like widgetOrder for widgets:

{
  "id": "workspaces",
  "type": "workspaces",
  "position": "left",
  "workspace": { "order": ["Z", "X", "C", "V", "B", "N", "M"] }
}
  • Listed workspaces come first, in that order.
  • Workspaces the list doesn't name keep their current order after the listed ones.
  • Names that aren't currently present are skipped, as with widgetOrder.
  • Without order, the current alphabetical behaviour stays.

A widget-level workspace.order would let each kind of screen (or profile) order cells differently, and it plugs into the existing workspace configuration, schema and inspector. A top-level workspaceOrder, parallel to widgetOrder, would also work if a single order is preferred.

This would work with every workspace source and does not depend on AeroSpace changing. If #1816 lands, the source order could also be used as the fallback, but a list is the only thing that works today.

Possible today

No configuration can reorder the cells. The workspace options style, filter and show them (hideApps, hideWorkspaces, showEmpty, showApps, windows, …), but none changes their order, and workspaceSnapshot re-sorts whatever the source returns. Renaming a workspace changes the name shown but ends up in the same alphabetical order.

Related

  • #1816: custom workspace order from persistent-workspaces, still open.
  • #388 (closed): workspace group dividers; it classifies numeric and alphabetic workspaces and says it preserves workspace order, so it is the closest change to this area.

Activity

  1. added
    enhancement
    needs-triage
    on Dec 2, 2026
  2. added
    P3
    and removed
    needs-triage
    on Dec 2, 2026
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

    P3enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions