script/osx: Minimize windows into their applications icon