Skip to content

Urgency reveal only affects the Waybar instance with sway/workspaces; other instances with same bar_id stay hidden #4478

@PremiumUsername

Description

@PremiumUsername

Description
When a window sets the urgency hint on a non-visible workspace, the Waybar bar that contains the sway/workspaces module unhides as expected, but other Waybar bars stay hidden even if they use the same bar_id and are otherwise controlled by Sway’s bar IPC.
This makes multi-bar setups inconsistent: only the bar with sway/workspaces reacts to urgency, while companion bars do not reveal.

Steps to reproduce
Run two Waybar bars: a top bar with sway/workspaces and a bottom bar without it; both in "hide" mode and sharing the same bar id with ipc enabled.

Trigger a window urgency on a different workspace (so it’s not currently visible).

Observe which bars unhide.

Expected behavior
All Waybar bars tied to the same bar_id (and/or in hide mode) should unhide when any workspace becomes urgent.

Actual behavior
Only the Waybar bar that has the sway/workspaces module unhides; other Waybar instances remain hidden despite sharing the same bar_id and responding to bar IPC commands in other scenarios.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions