manage.js
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()
  }
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()
  }
console.log(X.getSetup());