i3: Add tree support

This commit is contained in:
2018-12-23 12:01:36 -06:00
parent 84cb77a031
commit e84464b5fd
8 changed files with 129 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.6,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.4,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}

5
.config/i3/trees/2term.json.rc Executable file
View File

@@ -0,0 +1,5 @@
#! /bin/sh
konsole &
konsole &
disown
exit

View File

@@ -0,0 +1,59 @@
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.6,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 368,
"width": 606,
"x": 0,
"y": 0
},
"percent": 0.6,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 368,
"width": 606,
"x": 0,
"y": 0
},
"percent": 0.4,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}
]
}

6
.config/i3/trees/3term.json.rc Executable file
View File

@@ -0,0 +1,6 @@
#! /bin/sh
konsole &
konsole &
konsole &
disown
exit

26
.config/i3/trees/dsk.json Normal file
View File

@@ -0,0 +1,26 @@
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.6,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.4,
"swallows": [
{
"class": "^konsole$"
}
],
"type": "con"
}

5
.config/i3/trees/dsk.json.rc Executable file
View File

@@ -0,0 +1,5 @@
#! /bin/sh
konsole --workdir "$HOME/Projects/dsk" &
konsole --workdir "$HOME/Projects/dsk" &
disown
exit