You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show which window has focus in workspace widgets #610
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.
Activity
feat: show which window has focus in workspace widgets
feat: show which window has focus in workspace widgets
feat: show which window has focus in workspace widgets
chore(release): 0.15.0 [skip ci]
stablebar-releases commentedon Nov 14, 2026
🎉 This issue has been resolved in version 0.15.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀