Wasn't there a way to auto-convert xrandr output to a xrandr command?

Please edit the post title.

I’m not sure if there is a utility to do that exactly, but if you want to be able to save and switch profiles, you can use autorandr or ARandR.