Bash script to position and resize windows after switching from one display setup to another