Plasma nested stopped working in plasma 6?

I am using this to launch a nested plasma wayland session from gamescope as a non steam game.
This worked great in plasma5 but seems to be broken in 6 can you see any problems? Thanks


Remove the performance overlay, it meddles with some tasks


Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper

whilst being launched by plasma-session

mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat < $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
/usr/bin/kwin_wayland_wrapper --width 1280 --height 800 --no-lockscreen $@
chmod a+x $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
export PATH=$XDG_RUNTIME_DIR/nested_plasma:$PATH

dbus-run-session startplasma-wayland

rm $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper