`websearch` shell script

Last modified on

dmenu_websearch is a browser-independent address bar which lets you:

My purpose of writing dmenu_websearch is to have the same address bar for all browsers. This allows me to have one simple bookmarks file. Also, minimal browsers such as w3m, Links, Lynx and Dillo do not have the feature to use a search engine or to access bookmarks from the address bar. Therefore, I use dmenu_websearch instead of their built-in address bars. Besides, being able to enter a URL or a search term without first opening a browser is more convenient and faster.

Configuration

Example Bookmarks File

The blank or commented lines are filtered out.

http://b-ok.org/ "Free books"
https://nyaa.si/ Free Anime
http://efe.kim
https:/suckless.org
#https://4channel.org/g Technology

Alternative Search Engines

https://duckduckgo.com/lite/?q=%s
https://duckduckgo.com/?q=%s
https://duckduckgo.com/html/?q=%s
https://www.startpage.com/do/search?query=%s
https://google.com/search?q=%s

Downloads