Add `default-floating-position relative-to="cursor"` window rule
Author: YaLTeRCreated Jan 14, 2025Updated Sep 15, 2026
Labelsarea:layoutarea:config
See: https://github.com/YaLTeR/niri/discussions/972
If the cursor (or rather, the window) is on a different output or workspace, then just ignore the window rule.
Source: niri-wm/niri