Skip to content

Can't query workspaces by active display #132

@brianwk

Description

@brianwk

Use case: I use Sketchybar to display the spaces with an icon and the hotkey number.
Screenshot 2025-11-12 at 11 28 55 AM

As far as I know, I can't practically get the active workspace by display using Rift. This causes my Sketchybar to have to update on both monitors, making the highlighted active space wrong on one display.

In Aerospace, they solve this with a simple argument, which I believe is something like --active? But in Rift maybe just add a new query that outputs all of the workspaces based on their state like "active"?

First of all, when I query anything, it only shows in the active context (i.e.: the active display / virtual space).
Second of all, I can't query what display is "active" from Rift.

Originally posted by @brianwk in #131

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions