Skip to content

Show which window has focus in workspace widgets #610

Closed

Description

@Jonathanm10

Problem

A workspace widget highlights the focused workspace, but nothing marks the focused window inside it. With OmniWM, workspace 1 holding a browser and T3 Code looks the same whichever of the two has focus, so the bar can't tell you where your keystrokes will go. This holds with "windows": true (one item per window) and in the default per-app mode.

Proposal

  • Mark the focused window's item with "windows": true, and the icon of the app it belongs to in per-app mode.
  • Read focus from the window managers that report it: OmniWM's is-focused field on query windows, and yabai's has-focus on query --windows. AeroSpace, Rift and macOS Spaces can follow later; until then they show no highlight.
  • By default, draw a rounded background a little larger than the item, in the cell's text color at low opacity, outside the item's frame so icons don't move as focus changes.
  • Add an optional workspace.focusedWindowStyle (a style) to change it: background, cornerRadius, borderColor, borderWidth, and the glyph's foreground and size over appStyle. This only adds a property; existing configurations keep working.
  • VoiceOver reads ", focused" on that item and marks it selected.

Both managers already trigger a refresh when focus changes: OmniWM's subscription includes focus, and yabai users register window_focused.

Possible today

No. appStyle.states.focused (focusedAppStyle) styles every app in the focused workspace, not the focused window, and Workspace carries no per-window focus.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    needs-triage
    on Nov 13, 2026
  2. added
    enhancement
    and removed
    needs-triage
    on Nov 13, 2026
  3. added 3 commits that reference this issue on Nov 13, 2026
    3cc854f
    8ba6d82
    099b20d
  4. stablebar-releases commented on Nov 14, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.15.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