instalar WMCTRL en Mac

brew install wmctrl
Armandres