Kanedias, 3 months ago Wayland has waypipe which does exactly that
Wayland has waypipe which does exactly that