Skip to content

support rift wm #524

Closed
Closed

Description

@tbnritzdoge

Problem

i want to use rift

Proposal

support rift

Possible today

No response

Related

No response

Activity

  1. added
    enhancement
    needs-triage
    on Nov 10, 2026
  2. Seb-GRAF commented on Nov 10, 2026

    @Seb-GRAF
    Collaborator

    Thanks for the request. No other issue tracks Rift, so this one does. Here are the details for whoever picks it up.

    Problem

    Rift is a tiling window manager for macOS. workspaceSource accepts only aerospace, yabai, omniwm and spaces, so Rift users can't show their workspaces in a workspaces widget.

    Proposal

    Add "workspaceSource": "rift", read through rift-cli, which talks to Rift over its Mach IPC and prints JSON (checked against Rift v0.8.1 source):

    • Snapshot: rift-cli query workspaces lists the virtual workspaces of a macOS Space, each with id, index, name, is_active, is_focused, display_uuid and its windows (title, app_name, bundle_id, is_focused, window_server_id). --display UUID scopes it to one display; rift-cli query displays lists the displays.
    • Live updates: rift-cli subscribe mach EVENT (workspace_changed, windows_changed, focused_window_changed, … or *) prints one JSON event per line until the pipe closes, much like the AeroSpace and OmniWM subscriptions in Workspaces.swift. Users don't need to configure signals.
    • Clicks: rift-cli execute workspace switch INDEX (0-based) switches workspace; rift-cli execute window focus --window-id '{"pid":…,"idx":…}' focuses a window.

    Points to settle:

    • Rift keeps its workspaces inside each macOS Space. Decide whether each display shows the workspaces of its current Space (query workspaces --display UUID), and what to show on a Space Rift doesn't manage.
    • Rift window ids are {"pid","idx"} pairs, while WorkspaceWindow.id is an Int. window_server_id fits the Int, but focusing needs Rift's id.
    • Check what subscribe mach does when Rift quits or restarts, so reconnecting matches the AeroSpace and OmniWM sources.
    • Surfaces, as in Show OmniWM workspaces in workspace widgets #267 / PR feat: show OmniWM workspaces in workspace widgets #272: WorkspaceSource, stablebar.schema.json, the source picker in Settings → General, window-manager detection and gap guidance in setup, the reconnect item, Triage.swift, docs/widgets.md, docs/configuration.md, docs/command-line.md and docs/getting-started.md (Rift's top under [settings.layout.gaps.outer] for clearance).

    Possible today

    StableBar runs alongside Rift: set top under [settings.layout.gaps.outer] in Rift's config so tiled windows stay below the bar. For workspaces, a script widget can print rift-cli query workspaces on an interval. That gives text only: no workspace cells, app icons, focus styling or click to switch.

    Related

    Triaged by Claude Code (Claude Opus 5.5).

  3. removed
    needs-triage
    on Nov 10, 2026
  4. stablebar-releases commented on Nov 10, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.12.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  5. Seb-GRAF commented on Nov 10, 2026

    @Seb-GRAF
    Collaborator

    rift support is out in 0.12.0 🎉 pick Rift in Settings → General → Workspace manager, or set "workspaceSource": "rift" (details). rift only manages a space once you turn it on there (alt + z by default), so do that first if the widget stays empty

    if StableBar is useful to you, a star on the repo would really help ⭐

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