Skip to content

Instantly share code, notes, and snippets.

@taesiri
Last active October 30, 2019 05:09
Show Gist options
  • Save taesiri/e9ab22a4d2305842e2ae2243719dbf52 to your computer and use it in GitHub Desktop.
Save taesiri/e9ab22a4d2305842e2ae2243719dbf52 to your computer and use it in GitHub Desktop.
i3_layout_4by2
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"name": "Agent1",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
},
{
"name": "Agent2",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
}
]
}
]
},
{
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"name": "Agent3",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
},
{
"name": "Agent4",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
}
]
}
]
}
]
}
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"name": "Agent5",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
},
{
"name": "Agent6",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
}
]
}
]
},
{
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"layout": "splitv",
"percent": 0.5,
"type": "con",
"nodes": [
{
"name": "Agent7",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
},
{
"name": "Agent8",
"percent": 0.5,
"type": "con",
"swallows": [ {"class": "^bipedal_random.x86_64$"}]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment