1
1
Fork 0

search: add google fonts engine

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-12 13:18:31 -06:00
parent d8427e213a
commit 04e4b47794
Signed by: Myned
GPG key ID: C7224454F7881A34
3 changed files with 19 additions and 0 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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"