poll-xrandr Bash script to poll xrandr until connected screens change, then run autorandr --change when detected. Requires a properly setup autorandr.