Change urls

This commit is contained in:
Јован Ђокић-Шумарац 2024-02-13 12:28:30 +01:00
parent 43860742b6
commit 0fdc08b84b

View file

@ -19,7 +19,7 @@
--transition-speed: 200ms; --transition-speed: 200ms;
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: dark) {
:root { :root {
--color-background: #e8e8e8; --color-background: #e8e8e8;
--color-text-subtle: #606060; --color-text-subtle: #606060;
@ -32,38 +32,33 @@
const CONFIG = { const CONFIG = {
commandPathDelimiter: '/', commandPathDelimiter: '/',
commandSearchDelimiter: ' ', commandSearchDelimiter: ' ',
defaultSearchTemplate: 'https://duckduckgo.com/?q={}', defaultSearchTemplate: 'https://www.google.com/search?q={}',
openLinksInNewTab: true, openLinksInNewTab: true,
suggestionLimit: 4, suggestionLimit: 4,
}; };
const COMMANDS = new Map([ const COMMANDS = new Map([
['a', { name: 'Chat', url: 'https://chat.openai.com' }], ['a', { name: 'Gemini', url: 'https://gemini.google.com/app' }],
['b', { name: 'Dribbble', url: 'https://dribbble.com/shots/recent' }], ['h', { name: 'GitHub', url: 'https://github.com/jorrmungandrr' }],
['c', { name: 'Calendar', url: 'https://calendar.google.com' }], ['g', { name: 'GitLab', url: 'https://gitlab.com/sumarac' }],
['d', { name: 'Drive', url: 'https://drive.google.com' }],
['f', { name: 'Figma', url: 'https://www.figma.com' }],
['g', { name: 'GitHub', url: 'https://github.com' }],
['k', { name: 'Keep', url: 'https://keep.google.com' }], ['k', { name: 'Keep', url: 'https://keep.google.com' }],
['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }], ['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }],
['n', { name: 'Notion', url: 'https://www.notion.so' }], ['d', { name: 'Discord', url: 'https://discord.com/channels/@me' }],
['p', { name: 'Pomodoro', url: 'https://pomodoro.xvvvyz.xyz' }],
[ [
'r', 'r',
{ {
name: 'Reddit', name: 'Reddit',
suggestions: [ suggestions: [
'r/r/webdev', 'r/r/unixporn',
'r/r/dataisbeautiful', 'r/r/hyprland',
'r/r/fujix', 'r/r/neovim',
'r/r/leetcode', 'r/r/gentoo',
'r/r/python',
], ],
url: 'https://reddit.com', url: 'https://reddit.com',
}, },
], ],
['s', { name: 'Supabase', url: 'https://supabase.com/dashboard/projects' }],
['t', { name: 'Translate', url: 'https://www.deepl.com/translator' }], ['t', { name: 'Translate', url: 'https://www.deepl.com/translator' }],
['v', { name: 'Vercel', url: 'https://vercel.com/dashboard' }],
[ [
'y', 'y',
{ {
@ -72,15 +67,6 @@
url: 'https://youtube.com/feed/subscriptions', url: 'https://youtube.com/feed/subscriptions',
}, },
], ],
[
'0',
{
name: 'localhost',
searchTemplate: ':{}',
suggestions: ['0 54323', '0 54324'],
url: 'http://localhost:3000',
},
],
]); ]);
</script> </script>