If you want it done automatically, there is such a setting in KDE:
So you can save a global scale per display configuration, but you cannot: