Added layout restoration with a terminal runner

This commit is contained in:
Tristaan
2018-02-16 15:17:34 +01:00
parent 9acfb082b7
commit 0d89f00bad
4 changed files with 128 additions and 25 deletions

View File

@@ -0,0 +1,112 @@
{
// stacked split container with 1 children
"border": "pixel",
"floating": "auto_off",
"layout": "stacked",
"percent": 0.6,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 768,
"width": 1024,
"x": 0,
"y": 0
},
"name": "tristan@T-i3: ~/build",
"percent": 1,
"swallows": [
{
"class": "^Alacritty$",
"instance": "^Alacritty$"
}
],
"type": "con"
}
]
}
{
// splitv split container with 2 children
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
// tabbed split container with 2 children
"border": "pixel",
"floating": "auto_off",
"layout": "tabbed",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 768,
"width": 1024,
"x": 0,
"y": 0
},
"name": "tristan@T-i3: ~/build",
"percent": 0.5,
"swallows": [
{
"class": "^Alacritty$",
"instance": "^Alacritty$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 4,
"floating": "auto_off",
"geometry": {
"height": 768,
"width": 1024,
"x": 0,
"y": 0
},
"name": "tristan@T-i3: ~/build/doc24_backend",
"percent": 0.5,
"swallows": [
{
"class": "^Alacritty$",
"instance": "^Alacritty$"
}
],
"type": "con"
}
]
},
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 768,
"width": 1024,
"x": 0,
"y": 0
},
"name": "nvim .i3/config",
"percent": 0.5,
"swallows": [
{
"class": "^Alacritty$",
"instance": "^Alacritty$"
}
],
"type": "con"
}
]
}
// vim:ts=4:sw=4:et