diff options
| author | Mitsuo Tokumori <[email protected]> | 2024-08-25 15:03:43 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2024-08-25 15:03:43 +0900 |
| commit | edf53297bf1ca0cf734968e81e6f261d18e342fd (patch) | |
| tree | 07fda9fec12520a9f24008dcd6e071075766e3a8 /local/bin/dmenu-webshortcuts.sh | |
| parent | e6fc54012cad3b6d3ff5aa464d30b7221dfdc00e (diff) | |
| download | dotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.tar.gz dotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.tar.bz2 dotfiles-edf53297bf1ca0cf734968e81e6f261d18e342fd.zip | |
Add web shortcuts to wiktionary and wikivoyage
Diffstat (limited to 'local/bin/dmenu-webshortcuts.sh')
| -rwxr-xr-x | local/bin/dmenu-webshortcuts.sh | 2 |
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// /+}" ;; |
