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