code: function changeGroup(num) {
      if (num === curGroup) return
      console.log('switching groups to', num)
      groups[curGroup].forEach(function(window) {
        X.UnmapWindow({ window: window })
      })
      curGroup = num
      groups[curGroup].forEach(function(window) {
        X.MapWindow({ window: window })
      })
      sizeWindows()
    }
docs: console.log(X.getSetup());