Desktop remains the same when scaling display using xrandr

Never mind, I’ve found the fix. I just had to create an autostart script and i guess the scaling was somehow done before the plasmashell started.