Install autorandr.
sudo pacman -S autorandr
Save current configuration. If you are on notebook you can eg. call it mobile.
autorandr --save mobile
Now connect you external monitor. Change the monitor settings as you wish and save it.
autorandr --save docked
From now on, when you connect external monitor it will automatically switch to it. If you disconnect it it will revert back internal monitor only.