Updated search bar wiki

pawelmalak 2021-11-14 23:15:28 +01:00
parent e0ee7104af
commit 4dcf81d9a3

@ -1,13 +1,32 @@
### Searching
To use search bar you need to type your search query with selected prefix. For example, to search for "what is docker" using google search you would type: `/g what is docker`.
The default search setting is to search through all your apps and bookmarks. If you want to search using specific search engine, you need to type your search query with selected prefix. For example, to search for "what is docker" using google search you would type: `/g what is docker`.
### Options
- Default Search Provider
- Allows to set default search provider and use it without prefix
- Open search results in the same tab
You can set which search engine should be the default one. If you set DuckDuckGo as a default search provider you can just type your query without using `/d` prefix. To search and redirect to the results, just press `Enter`.
Search bar will also detect valid URLs and IPs and will redirect directly to them instead of searching.
### Local search
Local search is the default search provider so you don't need to use prefix to search. However, if you change the default search enigne you will need to use `/l` prefix.
If app or bookmark was found, you can easily open it by pressing `Enter`.
### Adding custom search engine
You can add your own search engines. Go to `Settings > Search` and then add your custom search engine. You will need to provide an unique prefix and search template like `https://duckduckgo.com/?q=` or `https://whoogle.sdf.org/search?q=`. You can also set it to be your default search provider.
### Shortcuts
Search bar supports some shortcuts:
- Focus on the search bar
- `Esc` - clear input
- `LMB double click` - clear input
- Focus outside the search bar
- `Esc` - clear input
- `backtick` - (`) clear input and focus on the search bar
### Built-in search providers
### Supported search queries
| Name | Prefix | Search URL |
|--------------------|--------|-----------------------------------------------|
| Deezer | /dz | https://www.deezer.com/search/ |
@ -19,4 +38,5 @@ To use search bar you need to type your search query with selected prefix. For e
| Spotify | /sp | https://open.spotify.com/search/ |
| The Movie Database | /mv | https://www.themoviedb.org/search?query= |
| Tidal | /td | https://listen.tidal.com/search?q= |
| YouTube | /yt | https://www.youtube.com/results?search_query= |
| Wikipedia | /w | https://en.wikipedia.org/w/index.php?search= |
| YouTube | /yt | https://www.youtube.com/results?search_query= |