Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Show current workspace on each monitor as active

Open drone-ah opened this issue 11 months ago • 3 comments

Hi,

I've just started using waybar with Hyprland and am liking it so far - thank you. I am coming across from i3wm and it highlights the currently active workspace on each monitor, not just one active workspace across all monitors.

For example, it would highlight 1 on the first monitor, 2 on the second and 3 on the third regardless of which workspace/monitor is currently active.

Is it possible to reproduce this behaviour with waybar?

I really appreciate any help you can provide.

drone-ah avatar Dec 30 '24 13:12 drone-ah

Hi, did you found solution to that? I tried multiple approaches but nothing works

JohnnyProg avatar Apr 17 '25 17:04 JohnnyProg

Nope - sadly not yet

drone-ah avatar Apr 23 '25 09:04 drone-ah

Still not found solution?

elleqt avatar Jun 05 '25 15:06 elleqt

I'd like this too. It makes no sense for the Waybar to display the active workspace on a monitor that is showing a different workspace. Would much prefer it worked like i3.

sibblegp avatar Jun 28 '25 15:06 sibblegp

Had the same issue, but it seems waybar adds a css class for those workspaces, your theme probably just doesn't style them.

As far as I can tell, classes are added for all of those is_____ methods: https://github.com/Alexays/Waybar/blob/39d6d80f6419b05e3358d950d9ee8601b152b8f9/include/modules/hyprland/workspace.hpp#L44

visible seems to be all workspaces visible except the currently focused one. so the following in your style.css file would turn the background of the focused visible workspaces red and the other visible ones red.

#workspaces button.visible {
    background-color: orange;
}
#workspaces button.focused {
    background-color: red;
}

Zauberfisch avatar Jul 22 '25 21:07 Zauberfisch