update readme

This commit is contained in:
Cade Scroggins
2021-01-20 15:02:40 +05:30
parent be23cad97f
commit 0250e4555c
2 changed files with 28 additions and 33 deletions
+27 -32
View File
@@ -1,54 +1,49 @@
# Tilde # Tilde
Inspired by [/r/startpages](https://www.reddit.com/r/startpages)—the idea Inspired by [/r/startpages](https://www.reddit.com/r/startpages)—the idea
is to have a homepage for your browser that is functional and sexy. is to have a browser homepage that is functional and sexy.
## Basic Usage ## Usage
To go to a site, enter the corresponding key. To view the available sites and This is how you can use Tilde out of the box, but it’s
their keys, press `?`. If your input doesn’t match any of the keys, a [meant to be customized](index.html).
generic Google search will be triggered.
- Entering `t` would redirect you to [twitter.com](https://twitter.com/home). - To go to a site, type the corresponding key and press return.
- Entering `u` would redirect you to - To view the available sites and their keys, type a question mark.
[unsplash.com](https://unsplash.com/images). - If your input doesn’t match a key, a generic Google search will be
- Entering `duckduckgo` would triggered.
- To search a site, type a single quote after the site’s key, followed by
your query.
- To go to a specific path an a site, type the path after the site’s key.
### Examples
- Entering `t` will redirect you to [twitter.com](https://twitter.com/home).
- Entering `u` will redirect you to [unsplash.com](https://unsplash.com/images).
- Entering `duckduckgo` will
[search Google for duckduckgo](https://www.google.com/search?q=duckduckgo). [search Google for duckduckgo](https://www.google.com/search?q=duckduckgo).
### Searching #### Searching
Search a site by typing a single quote after the site’s key, followed by - Entering `g'tilde` will
your query.
- Entering `g'tilde` would
[search GitHub for tilde](https://github.com/search?q=tilde). [search GitHub for tilde](https://github.com/search?q=tilde).
- Entering `y'vox` would - Entering `y'vox` will
[search YouTube for vox](https://www.youtube.com/results?search_query=vox). [search YouTube for vox](https://www.youtube.com/results?search_query=vox).
### Specific Paths #### Specific Paths
Go to a specific location on a site by typing a forward slash after the - Entering `r/r/startpages` will redirect you to
site’s key, followed by a path. [reddit.com/r/startpages](https://www.reddit.com/r/startpages)
- Entering `h/popular` will redirect you to
- Entering `r/r/startpages` would redirect you to
[www.reddit.com/r/startpages](https://www.reddit.com/r/startpages)
- Entering `h/popular` would redirect you to
[hypem.com/popular](http://hypem.com/popular). [hypem.com/popular](http://hypem.com/popular).
### Specific Sites #### Other Sites
Enter a full domain or URL to be redirected to said domain or URL. - Entering `stallman.org` will redirect you to
- Entering `stallman.org` would redirect you to
[stallman.org](https://stallman.org/). [stallman.org](https://stallman.org/).
- Entering `https://smile.amazon.com` would redirect you to - Entering `https://smile.amazon.com` will redirect you to
[smile.amazon.com](https://smile.amazon.com/). [smile.amazon.com](https://smile.amazon.com/).
### Beyond
The above is just the beginning… Open up the [index.html](index.html)
file and make it yours!
## License ## License
Feel free to use and modify Tilde Feel free to use and modify Tilde
+1 -1
View File
@@ -28,7 +28,7 @@
// is used. Commands without a category don't show up in the help menu. // is used. Commands without a category don't show up in the help menu.
// You can specify either "hues" or "color" to change a command's background // You can specify either "hues" or "color" to change a command's background
// color. "hues" is an array of CSS HSL hues that will be converted into a // color. "hues" is an array of HSL hues that will be converted into a
// linear gradient. There are CSS variables defined below, prefixed with // linear gradient. There are CSS variables defined below, prefixed with
// "--command-color-", that determine the gradient angle, saturation, // "--command-color-", that determine the gradient angle, saturation,
// lightness and alpha for each generated color. "color", if defined, will // lightness and alpha for each generated color. "color", if defined, will