search: add google fonts engine
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
d8427e213a
commit
04e4b47794
3 changed files with 19 additions and 0 deletions
|
@ -120,6 +120,12 @@ in {
|
||||||
url = "https://github.com/search?q={searchTerms}";
|
url = "https://github.com/search?q={searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
name = "Google Fonts";
|
||||||
|
shortcut = "gf";
|
||||||
|
url = "https://fonts.google.com/?query={searchTerms}";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "Home Manager Issues";
|
name = "Home Manager Issues";
|
||||||
shortcut = "hi";
|
shortcut = "hi";
|
||||||
|
|
|
@ -318,6 +318,13 @@ in {
|
||||||
URLTemplate = "https://www.google.com/search?q={searchTerms}";
|
URLTemplate = "https://www.google.com/search?q={searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
Name = "Google Fonts";
|
||||||
|
Alias = "gf";
|
||||||
|
IconURL = "https://www.gstatic.com/images/icons/material/apps/fonts/1x/catalog/v5/favicon.svg";
|
||||||
|
URLTemplate = "https://fonts.google.com/?query={searchTerms}";
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
Name = "GitHub";
|
Name = "GitHub";
|
||||||
Alias = "gh";
|
Alias = "gh";
|
||||||
|
|
|
@ -56,6 +56,12 @@ case "$1" in
|
||||||
url="https://www.google.com/search?q="
|
url="https://www.google.com/search?q="
|
||||||
query="${1:2}"
|
query="${1:2}"
|
||||||
;;
|
;;
|
||||||
|
'gf '*)
|
||||||
|
label="Google Fonts"
|
||||||
|
icon="google"
|
||||||
|
url="https://fonts.google.com/?query="
|
||||||
|
query="${1:3}"
|
||||||
|
;;
|
||||||
'gh '*)
|
'gh '*)
|
||||||
label="GitHub"
|
label="GitHub"
|
||||||
icon="github"
|
icon="github"
|
||||||
|
|
Loading…
Add table
Reference in a new issue