Skip to content

Commit

Permalink
Add init structure for quicklinks config
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Feb 27, 2022
1 parent 14f3ccb commit 167cbff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,10 @@
"squareColor": "#9e9e9e",
"squareBackgroundColor": "#2e2e2e",
"autocompleteHighlightBackgroundColor": "#3B3B3B"
},
"quickLinks": {
"r": "https://reddit.com",
"g": "https://github.com",
"y": "https://youtube.com"
}
}
13 changes: 13 additions & 0 deletions js/search.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* Handle quick search functionality to let the user search
* various quickly visited sites.
*
* We will support things like g'test that will search for `test` on
* GitHub.
*
* We will also support things like r/r/startpage that will resolve to
* reddit.com/r/startpage
*
* This functionality is inspired from the tilde projects quick links:
* https://github.com/cadejscroggins/tilde
*/

0 comments on commit 167cbff

Please sign in to comment.