diff --git a/data/configs/config.json b/data/configs/config.json index 060961492..b9c4ae388 100644 --- a/data/configs/config.json +++ b/data/configs/config.json @@ -1,12 +1,26 @@ { "name": "config", - "services": [], + "services": [ + { + "type": "Other", + "name": "YouTube", + "icon": "https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/youtube.png", + "url": "https://youtube.com/" + }, + { + "type": "Other", + "name": "YouTube ", + "icon": "https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/youtube.png", + "url": "https://youtube.com/" + } + ], "settings": { "searchBar": true, - "searchUrl": "https://duckduckgo.com/?q=", + "searchUrl": "Custom", "enabledModules": [ "Date", - "Calendar" + "Calendar", + "Weather" ] } } \ No newline at end of file diff --git a/src/components/AppShelf/AppShelf.tsx b/src/components/AppShelf/AppShelf.tsx index 2da45d5ea..54b373fd3 100644 --- a/src/components/AppShelf/AppShelf.tsx +++ b/src/components/AppShelf/AppShelf.tsx @@ -5,7 +5,7 @@ import { useConfig } from '../../tools/state'; import { serviceItem } from '../../tools/types'; import AppShelfMenu from './AppShelfMenu'; -const AppShelf = () => { +const AppShelf = (props: any) => { const { config } = useConfig(); return ( diff --git a/src/components/SearchBar/SearchBar.tsx b/src/components/SearchBar/SearchBar.tsx index be853e67c..a058e76f2 100644 --- a/src/components/SearchBar/SearchBar.tsx +++ b/src/components/SearchBar/SearchBar.tsx @@ -73,6 +73,7 @@ export default function SearchBar(props: any) { target={