8000 GitHub - mnabila/dmenu-websearch: Shorthand for web search based on each own query with dmenu.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mnabila/dmenu-websearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

dmenu-websearch

Shorthand for web search based on each own query with dmenu.

📦 Dependencies

  1. dmenu is a dynamic menu for X

  2. jq is a lightweight and flexible command-line JSON processor

🌎 Web Search Queries

OPTIONS='''
[
[ "Arch:Manpage",        "https://man.archlinux.org/search?q=" ],
[ "Arch:Wiki",           "https://wiki.archlinux.org/index.php?search=" ],
[ "Arch:Packages",       "https://archlinux.org/packages/?q=" ],
[ "Arch:Packages:AUR",   "https://aur.archlinux.org/packages/?K=" ],
[ "DuckDuckGo:Search",   "https://duckduckgo.com/?q=" ],
[ "GitHub:Search",       "https://github.com/search?q=" ],
[ "Google:Search",       "https://duckduckgo.com/?q=!g+" ],
[ "Google:Search:Image", "https://duckduckgo.com/?q=!gi+" ],
[ "Google:Translate",    "https://translate.google.com/?sl=auto&tl=id&text=" ],
[ "Ruby:Gems",           "https://rubygems.org/gems/" ],
[ "Ruby:Toolbox",        "https://www.ruby-toolbox.com/search?q=" ]
]
'''

🏗️ How to add new queriey?

Just add in the OPTIONS array.

Don’t give comma , in the last element!

🍲 How to use?

Complete the menu search with Tab, and write down your keywords.

The form should be like this,

Prefix:Menu <your> <keywords>
📎
You’re free to define the prefix menu. My example is just for ease in explaining.

Copyright © 2021 Rizqi Nur Assyaufi. Free use of this software is granted under the terms of the MIT License. See LICENSE for details.

About

Shorthand for web search based on each own query with dmenu.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0