summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-08-27 19:49:59 +0900
committerMitsuo Tokumori <[email protected]>2024-08-27 19:49:59 +0900
commitf57061e661c1ab679dff06df6d35c9c156887393 (patch)
treea3fe8fe24ed14f7e001240ad25c13814e6dc5d8e
parentedf53297bf1ca0cf734968e81e6f261d18e342fd (diff)
downloaddotfiles-f57061e661c1ab679dff06df6d35c9c156887393.tar.gz
dotfiles-f57061e661c1ab679dff06df6d35c9c156887393.tar.bz2
dotfiles-f57061e661c1ab679dff06df6d35c9c156887393.zip
Add more web shortcuts
-rwxr-xr-xlocal/bin/dmenu-webshortcuts.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/bin/dmenu-webshortcuts.sh b/local/bin/dmenu-webshortcuts.sh
index 66363a0..70db4f6 100755
--- a/local/bin/dmenu-webshortcuts.sh
+++ b/local/bin/dmenu-webshortcuts.sh
@@ -45,7 +45,7 @@ case "$keyword" in
"arxiv") xdg-open "https://arxiv.org/search/?query=${search_query// /+}" ;;
# Computer
- "arch") xdg-open "https://wiki.archlinux.org/title/$search_term" ;;
+ "arch") xdg-open "https://wiki.archlinux.org/index.php?search=${search_term// /+}" ;;
"aur") xdg-open "https://aur.archlinux.org/packages?O=0&K=${search_term// /+}" ;;
"so") xdg-open "https://stackoverflow.com/search?q=${search_term// /+}" ;;
"gh") xdg-open "https://github.com/search?q=${search_term// /+}&type=repositories" ;;
@@ -69,6 +69,7 @@ case "$keyword" in
# Shopping
"amzn") xdg-open "https://www.amazon.com/s?k=${search_term// /+}" ;;
+ "amznjp") xdg-open "https://www.amazon.co.jp/s?k=${search_term// /+}" ;;
"ebay") xdg-open "https://www.ebay.com/sch/i.html?_nkw=${search_term// /+}" ;;
# Utilities