|
|
@ -22,13 +22,13 @@ let commands = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "welcome",
|
|
|
|
name: "welcome",
|
|
|
|
output(input){ return[
|
|
|
|
output(input){
|
|
|
|
|
|
|
|
let fontSize = window.getComputedStyle(document.body,null).fontSize.split("px", 1);
|
|
|
|
|
|
|
|
return[
|
|
|
|
{color: "white", content: "\nWelcome to:\n", delay: 100},
|
|
|
|
{color: "white", content: "\nWelcome to:\n", delay: 100},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
color: "green",
|
|
|
|
color: "green",
|
|
|
|
content: function(){
|
|
|
|
content: window.innerWidth/fontSize<35?
|
|
|
|
let fontSize = window.getComputedStyle(document.body,null).fontSize.split("px", 1);
|
|
|
|
|
|
|
|
return window.innerWidth/fontSize<35?
|
|
|
|
|
|
|
|
" __ \n" +
|
|
|
|
" __ \n" +
|
|
|
|
" /\\ \\ \n" +
|
|
|
|
" /\\ \\ \n" +
|
|
|
|
" ____ __ \\_\\ \\____ _____ ____ \n" +
|
|
|
|
" ____ __ \\_\\ \\____ _____ ____ \n" +
|
|
|
@ -52,8 +52,7 @@ let commands = [
|
|
|
|
"\\ \\____\\ \\____ \\\\____/ \\_\\\\ \\____\\/\\_\\\\ \\__\\\\____/ \\__/\\__/ \\ \\_\\ \\_\\\n" +
|
|
|
|
"\\ \\____\\ \\____ \\\\____/ \\_\\\\ \\____\\/\\_\\\\ \\__\\\\____/ \\__/\\__/ \\ \\_\\ \\_\\\n" +
|
|
|
|
" \\/____/\\/___/\\ \\___/ \\/_/ \\/____/\\/_/ \\/__//___/ \\/_/\\/_/ \\/_/\\/_/\n" +
|
|
|
|
" \\/____/\\/___/\\ \\___/ \\/_/ \\/____/\\/_/ \\/__//___/ \\/_/\\/_/ \\/_/\\/_/\n" +
|
|
|
|
" /\\___/\n" +
|
|
|
|
" /\\___/\n" +
|
|
|
|
" \\/__/ @adb.sh\n\n";
|
|
|
|
" \\/__/ @adb.sh\n\n",
|
|
|
|
}(),
|
|
|
|
|
|
|
|
delay: 300
|
|
|
|
delay: 300
|
|
|
|
},
|
|
|
|
},
|
|
|
|
input.find(arr => arr === "--help")?{
|
|
|
|
input.find(arr => arr === "--help")?{
|
|
|
@ -69,7 +68,8 @@ let commands = [
|
|
|
|
" - Jitsi > meet\n",
|
|
|
|
" - Jitsi > meet\n",
|
|
|
|
delay: 500
|
|
|
|
delay: 500
|
|
|
|
}:{color: "white", content: "show examples with \"welcome --help\"", delay: 600}
|
|
|
|
}:{color: "white", content: "show examples with \"welcome --help\"", delay: 600}
|
|
|
|
]}
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: ["ls", "la", "list"],
|
|
|
|
name: ["ls", "la", "list"],
|
|
|
|