Workspaces on multiple monitors

Hyprland version
0.53.1

I am considering switching to Hyprland from sway and have one question about the workspace management on a multi-monitor setup.

I have three monitors and would like to switch workspaces on them simultaneously. For example, I want to switch from a coding session on project1 to a coding session on project2, but switching all three monitors simultaneously to three workspaces containing my stuff for the given project. Would this be the default behaviour of hyprland, or is there maybe a concept of “workspace groups” or such to achieve that?

I am used to this behaviour from awesome (before wayland) and have been switching to sway, where this is missing (I tried to emulate it with swaysome, but it’s not really built-in).

Thanks for any pointers in case I missed this in the documentation.

Best wishes,
Frank

Not anything built-in (yet).
But it’s doable with some clever config tricks or scripts.

Edit: Related

You can, it just requires some work, cause workspaces are decoupled from each other.
For example, let say you have 2 monitors (I’m lazy) “DP-1” and “DP-2”

# set some workspace rules so they are automatically attributed to a monitor on creation
workspace = name:p1m1, monitor:DP-1
workspace = name:p1m2, monitor:DP-2

workspace = name:p2m1, monitor:DP-1
workspace = name:p2m2, monitor:DP-2

# create a binding to switch to project 1
bind = SUPER, 1, workspace, name:p1m1
bind = SUPER, 1, workspace, name:p1m2

# create a binding to switch to project 2
bind = SUPER, 2, workspace, name:p2m1
bind = SUPER, 2, workspace, name:p2m2