i3: Separate trees for terraria instances

This commit is contained in:
Salt 2019-02-07 14:32:44 -06:00
parent 7c41925f11
commit 86d071163b
4 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,68 @@
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.6,
"type": "con",
"nodes": [
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.6,
"swallows": [
{
"class": "^Mate-terminal$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.4,
"swallows": [
{
"class": "^Mate-terminal$"
}
],
"type": "con"
}
]
}
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.4,
"type": "con",
"nodes" : [
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.6,
"swallows": [
{
"class": "^Mate-terminal$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.4,
"swallows": [
{
"class": "^Mate-terminal$"
}
],
"type": "con"
}
]
}

View File

@ -0,0 +1,8 @@
#! /bin/sh
${TERMINAL:-mate-terminal} -x ssh aws-c5n-large-1 &
sleep 0.1
${TERMINAL:-mate-terminal} -x ssh aws-c5n-large-1 -t sudo -u terraria /usr/bin/screen -r ter-tmodpack2 &
sleep 0.1
${TERMINAL:-mate-terminal} &
sleep 0.1
${TERMINAL:-mate-terminal} -x ssh aws-c5n-large-1 -t htop &