How to disable that "movetoworkspace" also switches to that workspace?

Hi there,
For years I worked with i3wm and recently I made the switch to Hyprland and I love it. I have found many configuration options that allow me to get used to Hyprland real quick as I can configure it to behave like i3 did for me.
One thing, I need to learn and hopefully you folks can help me:
When I send an application to a different workspace, I don’t necessarily want to bring that workspace in focus. Most of the times I send an application to another workspace, I do that because I just want to get it out of my focus, but not close it.

How should I do that?

Thanks for helping me!

The command that you are looking for is movetoworkspacesilent. This will move the window to the specified workspace but not change to that workspace.

1 Like

Oh, thanks a lot. I was searching for a configuration setting. It never occurred to me that I might change the command. (tested, works)