i3: Add a tree for my AWS instance
This commit is contained in:
parent
475d099348
commit
33be732183
68
.config/i3/trees/aws-1.json
Normal file
68
.config/i3/trees/aws-1.json
Normal 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
8
.config/i3/trees/aws-1.json.rc
Executable 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 &
|
Loading…
Reference in New Issue
Block a user