keyboard – Shortcut to next/prev workspace triggered on a monitor with mouse, not monitor with focused application


Macos has built in shortcuts to switch between workspaces

  • ^left arrow – go to left workspace
  • ^right arrow – go to right workspace

I have a multimonitor setup and it often happens that the mouse is located on monitor 1 and the currently focused application is on monitor 2. For example I was using a mouse on monitor one in a browser, then used spotlight to switch to another application that was previously opened on monitor 2. Now if I use the shortcut the workspaces change for a monitor that has the mouse. This is a built in behavior. I would like for workspaces to change for a monitor that is contains currently focused application. Is there a way get this behavior?