1
1
Fork 0

walker: fix search engine prefix

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-11-24 13:11:57 -06:00
parent fd74fd96b2
commit 40cc96e22a
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -12,7 +12,7 @@ case "$1" in
label="ArchWiki" label="ArchWiki"
icon="distributor-logo-archlinux" icon="distributor-logo-archlinux"
url="https://wiki.archlinux.org/index.php?search=" url="https://wiki.archlinux.org/index.php?search="
query="${1:2}" query="${1:3}"
;; ;;
'b '*) 'b '*)
label="Brave" label="Brave"
@ -30,7 +30,7 @@ case "$1" in
label="Docker Hub" label="Docker Hub"
icon="docker-desktop" icon="docker-desktop"
url="https://hub.docker.com/search?q=" url="https://hub.docker.com/search?q="
query="${1:2}" query="${1:3}"
;; ;;
'e '*) 'e '*)
label="e621" label="e621"
@ -42,13 +42,13 @@ case "$1" in
label="Element Issues" label="Element Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/element-hq/element-web/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/element-hq/element-web/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:3}"
;; ;;
'fh '*) 'fh '*)
label="Flathub" label="Flathub"
icon="application-vnd.flatpak" icon="application-vnd.flatpak"
url="https://flathub.org/apps/search?q=" url="https://flathub.org/apps/search?q="
query="${1:2}" query="${1:3}"
;; ;;
'g '*) 'g '*)
label="Google" label="Google"
@ -60,13 +60,13 @@ case "$1" in
label="GitHub" label="GitHub"
icon="github" icon="github"
url="https://github.com/search?q=" url="https://github.com/search?q="
query="${1:2}" query="${1:3}"
;; ;;
'hi '*) 'hi '*)
label="Home Manager Issues" label="Home Manager Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/nix-community/home-manager/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/nix-community/home-manager/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:3}"
;; ;;
'ho '*) 'ho '*)
label="Home Manager Options" label="Home Manager Options"
@ -78,13 +78,13 @@ case "$1" in
label="Hyprland Issues" label="Hyprland Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/hyprwm/Hyprland/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/hyprwm/Hyprland/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:4}"
;; ;;
'ii '*) 'ii '*)
label="i3 Issues" label="i3 Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/i3/i3/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/i3/i3/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:3}"
;; ;;
'l '*) 'l '*)
label="Lutris" label="Lutris"
@ -96,73 +96,73 @@ case "$1" in
label="Lix Issues" label="Lix Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://git.lix.systems/lix-project/lix/issues?state=open&q=" url="https://git.lix.systems/lix-project/lix/issues?state=open&q="
query="${1:2}" query="${1:3}"
;; ;;
'mdn '*) 'mdn '*)
label="Mozilla Web Docs" label="Mozilla Web Docs"
icon="emblem-web" icon="emblem-web"
url="https://developer.mozilla.org/en-US/search?q=" url="https://developer.mozilla.org/en-US/search?q="
query="${1:2}" query="${1:4}"
;; ;;
'mno '*) 'mno '*)
label="MyNixOS Options" label="MyNixOS Options"
icon="nix-snowflake" icon="nix-snowflake"
url="https://mynixos.com/search?q=option+" url="https://mynixos.com/search?q=option+"
query="${1:2}" query="${1:4}"
;; ;;
'nd '*) 'nd '*)
label="Nix Dev" label="Nix Dev"
icon="nix-snowflake" icon="nix-snowflake"
url="https://nix.dev/manual/nix/latest?search=" url="https://nix.dev/manual/nix/latest?search="
query="${1:2}" query="${1:3}"
;; ;;
'nf '*) 'nf '*)
label="NixOS Flakes" label="NixOS Flakes"
icon="nix-snowflake" icon="nix-snowflake"
url="https://search.nixos.org/flakes?channel=unstable&query=" url="https://search.nixos.org/flakes?channel=unstable&query="
query="${1:2}" query="${1:3}"
;; ;;
'nh '*) 'nh '*)
label="Nix Hub" label="Nix Hub"
icon="nix-snowflake" icon="nix-snowflake"
url="https://www.nixhub.io/search?q=" url="https://www.nixhub.io/search?q="
query="${1:2}" query="${1:3}"
;; ;;
'ni '*) 'ni '*)
label="NixOS Nixpkgs Issues" label="NixOS Nixpkgs Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:3}"
;; ;;
'no '*) 'no '*)
label="NixOS Options" label="NixOS Options"
icon="nix-snowflake" icon="nix-snowflake"
url="https://search.nixos.org/options?channel=unstable&query=" url="https://search.nixos.org/options?channel=unstable&query="
query="${1:2}" query="${1:3}"
;; ;;
'nod '*) 'nod '*)
label="Noogle Dev" label="Noogle Dev"
icon="nix-snowflake" icon="nix-snowflake"
url="https://noogle.dev/q?term=" url="https://noogle.dev/q?term="
query="${1:2}" query="${1:4}"
;; ;;
'np '*) 'np '*)
label="NixOS Packages" label="NixOS Packages"
icon="nix-snowflake" icon="nix-snowflake"
url="https://search.nixos.org/packages?channel=unstable&query=" url="https://search.nixos.org/packages?channel=unstable&query="
query="${1:2}" query="${1:3}"
;; ;;
'npr '*) 'npr '*)
label="Nix PR" label="Nix PR"
icon="nix-snowflake" icon="nix-snowflake"
url="https://nixpk.gs/pr-tracker.html?pr=" url="https://nixpk.gs/pr-tracker.html?pr="
query="${1:2}" query="${1:4}"
;; ;;
'nw '*) 'nw '*)
label="NixOS Wiki" label="NixOS Wiki"
icon="nix-snowflake" icon="nix-snowflake"
url="https://wiki.nixos.org/w/index.php?search=" url="https://wiki.nixos.org/w/index.php?search="
query="${1:2}" query="${1:3}"
;; ;;
'p '*) 'p '*)
label="Piped" label="Piped"
@ -174,19 +174,19 @@ case "$1" in
label="PCGamingWiki" label="PCGamingWiki"
icon="computer" icon="computer"
url="https://www.pcgamingwiki.com/w/index.php?search=" url="https://www.pcgamingwiki.com/w/index.php?search="
query="${1:2}" query="${1:3}"
;; ;;
'pdb '*) 'pdb '*)
label="ProtonDB" label="ProtonDB"
icon="portproton" icon="portproton"
url="https://www.protondb.com/search?q=" url="https://www.protondb.com/search?q="
query="${1:2}" query="${1:4}"
;; ;;
'pip '*) 'pip '*)
label="PyPI" label="PyPI"
icon="python" icon="python"
url="https://pypi.org/search/?q=" url="https://pypi.org/search/?q="
query="${1:2}" query="${1:4}"
;; ;;
'r '*) 'r '*)
label="Reddit" label="Reddit"
@ -204,7 +204,7 @@ case "$1" in
label="Sway Issues" label="Sway Issues"
icon="com.github.zren.bugzilla" icon="com.github.zren.bugzilla"
url="https://github.com/swaywm/sway/issues?q=is%3Aissue+is%3Aopen+" url="https://github.com/swaywm/sway/issues?q=is%3Aissue+is%3Aopen+"
query="${1:2}" query="${1:3}"
;; ;;
'w '*) 'w '*)
label="Wikipedia" label="Wikipedia"
@ -216,7 +216,7 @@ case "$1" in
label="Wolfram Alpha" label="Wolfram Alpha"
icon="wolfram-mathematica" icon="wolfram-mathematica"
url="https://www.wolframalpha.com/input?i=" url="https://www.wolframalpha.com/input?i="
query="${1:2}" query="${1:3}"
;; ;;
'y '*) 'y '*)
label="YouTube" label="YouTube"