We currently directly write our settings to ~/.config/kwinrc and ~/.config/ksmserver.
Instead, create a separate config file with our settings (in ~/.config/plasma-mobile), and in startplasmamobile, add that path to XDG_CONFIG_DIRS. These options will be applied in the mobile session, unless the user explicitly sets the config option.
Qt apps for the most part should already default to wayland, since we are in a wayland
session. Don't force apps that default to x11 to be wayland (same
behaviour as desktop).
/bin/sh is not always bash. In distributions like Mobian where /bin/sh does not
have bash features, startplasmamobile outputs "[[: command not found" or similar
message because of the use of '[[' on the if statement that looks for
systemd-coredump.
startplasma-waylandsession hasn't existed for a while and the whole
session launched just fine without it, so let's remove the entire
argument.
The binary was removed in plasma-workspace in 7884f53d3c07699dc16f07cf0aa3966802c503c8