I am struggling with organizing my workspaces. I have one workspace per Project I am working on. Some applications I can fix to a single workspace, since they are only needed for a single project. Others (like Firefox) I need on all workspaces. Now, when I open Firefox from a workspace that does not have a Firefox instance in it, I am either taken to a workspace with a Firefox instance or a new Firefox instance is launched.
How can I always launch a new instance, when there is none in the current workspace? Turning on the "Launch new instance" plugin in gnome-tweaks launches new instances even if there is an instance open in the current workspace.
Basically, when I open Firefox (or any application that is not fixed to a workspace), I want the following to happen:
Is there an instance running in the current workspace? -> Give focus to that instance
Otherwise, launch a new instance in the current workspace.
How can I achieve that?