summaryrefslogtreecommitdiffstats
path: root/local/bin
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-08-25 15:03:43 +0900
committerMitsuo Tokumori <[email protected]>2024-08-25 15:03:43 +0900
commitedf53297bf1ca0cf734968e81e6f261d18e342fd (patch)
tree07fda9fec12520a9f24008dcd6e071075766e3a8 /local/bin
parente6fc54012cad3b6d3ff5aa464d30b7221dfdc00e (diff)
downloaddotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.tar.gz
dotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.tar.bz2
dotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.zip
Add web shortcuts to wiktionary and wikivoyage
Diffstat (limited to 'local/bin')
-rwxr-xr-xlocal/bin/dmenu-webshortcuts.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/bin/dmenu-webshortcuts.sh b/local/bin/dmenu-webshortcuts.sh
index 4902c0b..66363a0 100755
--- a/local/bin/dmenu-webshortcuts.sh
+++ b/local/bin/dmenu-webshortcuts.sh
@@ -39,6 +39,8 @@ case "$keyword" in
# Reference
"wp") xdg-open "https://en.wikipedia.org/wiki/${search_term// /_}" ;;
+ "wt") xdg-open "https://en.wiktionary.org/wiki/${search_term// /_}" ;;
+ "wv") xdg-open "https://en.wikivoyage.org/wiki/${search_term// /_}" ;;
"scholar") xdg-open "https://scholar.google.com/scholar?hl=en&q=${search_query// /+}" ;;
"arxiv") xdg-open "https://arxiv.org/search/?query=${search_query// /+}" ;;