And preferably run it as single.sh and dual.sh when I need whichever. It’s a Wayland session.
(Otherwise I’d have to manually arrange them every time I plug/unplug one of them.)
Edit: I also would like to do this without unplugging. Currently, when I disable/enable a monitor, its geometry gets reset.
Edit 2: Unplugging/plugging works, no idea why it didn’t work before. However I still would like to do this via scripts because setting monitor setup from super+P also resets the geometry.


Strange. It seems like a bug to me but in not involved with KDE. I would still reach out to them. Perhaps they know more at the KDE forum of how it’s supposed to work.
https://discuss.kde.org/
I see.
Thanks, I’ll check there.