Waybar
Waybar copied to clipboard
Show current workspace on each monitor as active
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.
Hi, did you found solution to that? I tried multiple approaches but nothing works
Nope - sadly not yet
Still not found solution?
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.
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;
}