move json layout example files to data

This commit is contained in:
David Levanon 2020-10-04 13:38:45 +03:00
parent f387f4886c
commit 231c9fb210
8 changed files with 232 additions and 0 deletions

View File

@ -0,0 +1,8 @@
The JSONs files in this directory are example config files used by `--config-json` option.
Once this feature would be documented officialy this directoy can be removed.
Example:
```
./terminator --config-json data/layout-files-examples/2-3-grid.json
```

View File

@ -0,0 +1,224 @@
{
"layout":{
"columns": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
}
],
"rows": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
],
"grid": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
}
],
"border": [
{
"command": "bash",
"ratio": 0.2
},
{
"ratio": 0.8,
"children": [
{
"command": "bash",
"ratio": 0.2
},
{
"command": "bash",
"ratio": 0.8
},
{
"command": "bash"
}
]
},
{
"command": "bash"
}
],
"nested": [
{
"children": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"command": "bash"
}
]
},
{
"children": [
{
"children": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
}
]
}
]
},
{
"children": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
}
]
}
]
}
]
}
]
}
]
},
"profile":{
"background_color": "#170717",
"foreground_color": "#f5c0b7",
"font": "Monospace 16",
"scrollback_infinite":"True"
}
}