Windowrule to (silently) put a window onto the current workspace on a particular monitor (no focus change)

Hyprland version
Hyprland 0.51.1 built from branch  at commit 71a1216abcc7031776630a6d88f105605c4dc1c9  ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
 aquamarine 0.9.5
 hyprlang 0.6.4
 hyprutils 0.10.0
 hyprcursor 0.1.13
 hyprgraphics 0.2.0

Describe your issue / feature…

Hello

Is there a way to create a windowrule to put a window on a particular monitor (in my case a current workspace present there) and do it “silently” (without changing window/workspace focus)?

My attempt looks something like this:

windowrule = noinitialfocus, class:mpv, title:mpv-sidepreview
windowrule = noborder, class:mpv, title:mpv-sidepreview
windowrule = float, class:mpv, title:mpv-sidepreview
windowrule = monitor HDMI-A-2, class:mpv, title:mpv-sidepreview
windowrule = workspace m+0 silent, class:mpv, title:mpv-sidepreview
windowrule = move 100%-w-0 100%-w-0, class:mpv, title:mpv-sidepreview

And while it does place the window correctly and avoids switching focus to it, it does switch the focus to that monitor/workspace (and some window there - if present).

My current config regarding cursor warps probably should not affect this either:

cursor {
  no_warps = true
  persistent_warps = true
  warp_on_change_workspace  = 0
}

If there is currently no way to do this, maybe “silent” version of the monitor rule could be added which would behave similarly to the silent workspace rules.