Inverse tool of xrandr
unxrandr
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).
The command
sh -c "unxrandr"
should never modify the configured state.
It takes no options apart from --help and --version.
man 1 arandr
chrysn <[email protected]>