Bash script to auto-configure X and connected displays on a MacBook 11,3 running Arch Linux