|
|
@ -22,13 +22,13 @@ let commands = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "welcome",
|
|
|
|
name: "welcome",
|
|
|
|
output(input){ return[
|
|
|
|
output(input){
|
|
|
|
{color: "white", content: "\nWelcome to:\n", delay: 100},
|
|
|
|
let fontSize = window.getComputedStyle(document.body,null).fontSize.split("px", 1);
|
|
|
|
{
|
|
|
|
return[
|
|
|
|
color: "green",
|
|
|
|
{color: "white", content: "\nWelcome to:\n", delay: 100},
|
|
|
|
content: function(){
|
|
|
|
{
|
|
|
|
let fontSize = window.getComputedStyle(document.body,null).fontSize.split("px", 1);
|
|
|
|
color: "green",
|
|
|
|
return window.innerWidth/fontSize<35?
|
|
|
|
content: window.innerWidth/fontSize<35?
|
|
|
|
" __ \n" +
|
|
|
|
" __ \n" +
|
|
|
|
" /\\ \\ \n" +
|
|
|
|
" /\\ \\ \n" +
|
|
|
|
" ____ __ \\_\\ \\____ _____ ____ \n" +
|
|
|
|
" ____ __ \\_\\ \\____ _____ ____ \n" +
|
|
|
@ -52,24 +52,24 @@ 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")?{
|
|
|
|
color: "white",
|
|
|
|
color: "white",
|
|
|
|
content:
|
|
|
|
content:
|
|
|
|
"free services on this server:\n" +
|
|
|
|
"free services on this server:\n" +
|
|
|
|
"\n" +
|
|
|
|
"\n" +
|
|
|
|
" - Mastodon > social\n" +
|
|
|
|
" - Mastodon > social\n" +
|
|
|
|
" - Gitea > git\n" +
|
|
|
|
" - Gitea > git\n" +
|
|
|
|
" - Matrix > element\n" +
|
|
|
|
" - Matrix > element\n" +
|
|
|
|
" - Etherpad > ether\n" +
|
|
|
|
" - Etherpad > ether\n" +
|
|
|
|
" - short url > surl\n" +
|
|
|
|
" - short url > surl\n" +
|
|
|
|
" - 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"],
|
|
|
|