pull/24/merge
Sami Altamimi 3 years ago committed by GitHub
commit 9e06db0755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,24 +16,5 @@
"paypal": "https://paypal.me/cveinnt", "paypal": "https://paypal.me/cveinnt",
"patreon": "https://patreon.com/cveinnt" "patreon": "https://patreon.com/cveinnt"
}, },
"colors": { "color": "default"
"light": {
"background": "#FBF1C9",
"foreground": "#3C3836",
"yellow": "#D79921",
"green": "#98971A",
"gray": "#7C6F64",
"blue": "#458588",
"red": "#CA2124"
},
"dark": {
"background": "#2E3440",
"foreground": "#E5E9F0",
"yellow": "#5E81AC",
"green": "#A3BE8C",
"gray": "#88C0D0",
"blue": "#EBCB8B",
"red": "#BF616A"
}
}
} }

@ -91,6 +91,11 @@ export const reddit = async (args: string[]): Promise<string> => {
return `Searching reddit for ${args.join(' ')}...`; return `Searching reddit for ${args.join(' ')}...`;
}; };
export const stackoverflow = async (args: string[]): Promise<string> => {
window.open(`https://stackoverflow.com/search?q=${args.join(' ')}`);
return `Searching stack overflow for ${args.join(' ')}...`;
};
// Typical linux commands // Typical linux commands
export const echo = async (args: string[]): Promise<string> => { export const echo = async (args: string[]): Promise<string> => {
return args.join(' '); return args.join(' ');
@ -133,6 +138,11 @@ export const emacs = async (args?: string[]): Promise<string> => {
return `you know what? just use vscode.`; return `you know what? just use vscode.`;
}; };
export const vscode = async (args?: string[]): Promise<string> => {
window.open(`vscode://`);
return `opening god's favorite editor...`;
};
export const sudo = async (args?: string[]): Promise<string> => { export const sudo = async (args?: string[]): Promise<string> => {
window.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ', '_blank'); // ...I'm sorry window.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ', '_blank'); // ...I'm sorry
return `Permission denied: with little power comes... no responsibility? `; return `Permission denied: with little power comes... no responsibility? `;

@ -1,4 +1,7 @@
const { colors } = require('./config.json'); const { color } = require('./config.json');
const theme = require('./themes.json');
let colors = theme[color];
module.exports = { module.exports = {
content: [ content: [

Loading…
Cancel
Save