unxrandr is a tool that queries the XRandR state using ARandR's libraries and outputs an xrandr command line that reproduces the state (as far as it is supported by the library).
sh -c "unxrandr"
should never modify the configured state.
It takes no options apart from --help and --version.
man 1 arandr