Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layout file - initial commit - work in progress #214

Merged
merged 9 commits into from
Oct 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions data/layout-files-examples/2-3-grid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"layout": {
"tab1": [
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
},
{
"children": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
}
]
},
"profile": {
"background_color": "#170717",
"foreground_color": "#f5c0b7"
}
}
13 changes: 13 additions & 0 deletions data/layout-files-examples/2-columns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"layout": {
"vertical": false,
"tab1": [
{
"command": "bash"
},
{
"command": "bash"
}
]
}
}
15 changes: 15 additions & 0 deletions data/layout-files-examples/3-rows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"layout": {
"tab1": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
}
}
28 changes: 28 additions & 0 deletions data/layout-files-examples/3-tabs-2-rows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"layout": {
"tab1": [
{
"command": "bash"
},
{
"command": "bash"
}
],
"tab2": [
{
"command": "bash"
},
{
"command": "bash"
}
],
"tab3": [
{
"command": "bash"
},
{
"command": "bash"
}
]
}
}
38 changes: 38 additions & 0 deletions data/layout-files-examples/3-tabs-3-columns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"layout": {
"vertical": false,
"tab1": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
],
"tab2": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
],
"tab3": [
{
"command": "bash"
},
{
"command": "bash"
},
{
"command": "bash"
}
]
}
}
75 changes: 75 additions & 0 deletions data/layout-files-examples/4-4-grid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"layout": {
"tab1": [
{
"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"
}
]
}
]
},
"profile": {
"background_color": "#070717",
"foreground_color": "#f5c0b7",
"font": "Monospace 16"
}
}
8 changes: 8 additions & 0 deletions data/layout-files-examples/README.md
Original file line number Diff line number Diff line change
@@ -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
```
Loading