I have a laptop with which I connect to a monitor at home ad at work. In both cases I use the same HDMI out for connecting the monitor. The one at the lab is 1440p/60hz and the one at home is 1080p/120hz when overclocked (not really, I just use a HDMI 1.4 input instead of DVI dual link).
I there a way for xrandr to detect whether a different monitor model is connected and e.g. disable precautions for the nvidia driver as outlined here? Can I adjust that automatically through scripting/autorandr, or would I need to see myself which one is connected and call the according script?