i3: Add a tree for my AWS instance

This commit is contained in:
Salt 2018-12-31 17:08:32 -06:00
parent 475d099348
commit 33be732183
2 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": "^konsole$"
}
],
"type": "con"
},
{
"border": "normal",
"current_border_width": 2,
"floating": "auto_off",
"percent": 0.4,
"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",
"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"
}
]
}

8
.config/i3/trees/aws-1.json.rc Executable file
View File

@ -0,0 +1,8 @@
#! /bin/sh
${TERMINAL:-konsole} -e ssh aws-1 &
sleep 0.05
${TERMINAL:-konsole} -e ssh aws-1 -t sudo -u minecraft /usr/bin/screen -r mc-custompack &
sleep 0.05
${TERMINAL:-konsole} &
sleep 0.05
${TERMINAL:-konsole} -e ssh aws-1 -t htop &