diff options
| author | Mitsuo Tokumori <[email protected]> | 2025-07-01 15:29:27 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2025-07-01 15:29:27 +0900 |
| commit | 9a878b2b6f94f955ca6caf9b44fb947635da67f1 (patch) | |
| tree | 580ab46823a76af307d5aac9ef48dd7766151b35 /public/.local/bin/dmenu-webshortcuts.sh | |
| parent | a2f2b28f086c455f85e3ec31c1fdde54b363744c (diff) | |
| download | dotfiles-9a878b2b6f94f955ca6caf9b44fb947635da67f1.tar.gz dotfiles-9a878b2b6f94f955ca6caf9b44fb947635da67f1.tar.bz2 dotfiles-9a878b2b6f94f955ca6caf9b44fb947635da67f1.zip | |
Add snippet.sh
Diffstat (limited to 'public/.local/bin/dmenu-webshortcuts.sh')
| -rwxr-xr-x | public/.local/bin/dmenu-webshortcuts.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/.local/bin/dmenu-webshortcuts.sh b/public/.local/bin/dmenu-webshortcuts.sh index 5ab4f82..411525d 100755 --- a/public/.local/bin/dmenu-webshortcuts.sh +++ b/public/.local/bin/dmenu-webshortcuts.sh @@ -53,6 +53,7 @@ case "$keyword" in "python") xdg-open "https://docs.python.org/3/search.html?q=${search_term// /+}" ;; "pypi") xdg-open "https://pypi.org/search/?q=${search_term// /+}&o=" ;; "npm") xdg-open "https://www.npmjs.com/search?q=${search_term// /+}" ;; + "mdn") xdg-open "https://developer.mozilla.org/en-US/search?q=${search_term// /+}" ;; # Media "yt") xdg-open "https://www.youtube.com/results?search_query=$search_term" ;; @@ -83,7 +84,7 @@ case "$keyword" in "rae") xdg-open "https://dle.rae.es/?w=$search_term" ;; # Mitsuo - "pw") xdg-open "http://wiki.pulse15/index.php?search=${search_term// /+}" ;; + "pw") xdg-open "http://wiki.localhost/index.php?search=${search_term// /+}" ;; "factorio") xdg-open "https://wiki.factorio.com/${search_term// /_}" ;; "dst") xdg-open "https://dontstarve.wiki.gg/wiki/${search_term// /_}" ;; "mc") xdg-open "https://minecraft.wiki/w/${search_term// /_}" ;; |
