From edf53297bf1ca0cf734968e81e6f261d18e342fd Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sun, 25 Aug 2024 15:03:43 +0900 Subject: Add web shortcuts to wiktionary and wikivoyage --- local/bin/dmenu-webshortcuts.sh | 2 ++ 1 file changed, 2 insertions(+) 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// /+}" ;; -- cgit v1.2.3