Instal WMCTRL

brew install wmctrl
Armandres