[GH-ISSUE #1301] a "current output" CSS selector for workspaces module #395

Open
opened 2026-05-22 21:53:08 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @Diax170 on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1301

Is your feature request related to a problem? Please describe.
It would be nice to have a style (CSS) selector for workspaces which targets the same workspace the bar is currently on (not just currently focused)

Describe the solution you'd like
There would be a style selector like .workspaces .item.current-output which targets the workspace the bar is on. For example, if workspace 1 is open on output DP-1 and workspace 2 on DP-2, the selector would target workspace 1 on the bar on DP-1 and workspace 2 for the bar on DP-2.
This is different from .workspaces .item.focused!

Describe alternatives you've considered
Waybar's sway/workspaces module has this already built in under the selector #workspaces button.current_output

Originally created by @Diax170 on GitHub (Dec 25, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1301 **Is your feature request related to a problem? Please describe.** It would be nice to have a style (CSS) selector for workspaces which targets the same workspace the bar is currently on (not just currently focused) **Describe the solution you'd like** There would be a style selector like `.workspaces .item.current-output` which targets the workspace the bar is on. For example, if workspace 1 is open on output DP-1 and workspace 2 on DP-2, the selector would target workspace 1 on the bar on DP-1 and workspace 2 for the bar on DP-2. This is **different** from `.workspaces .item.focused`! **Describe alternatives you've considered** Waybar's sway/workspaces module [has this already built in](https://man.archlinux.org/man/extra/waybar/waybar-sway-workspaces.5.en#Style) under the selector `#workspaces button.current_output`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#395
No description provided.