Skip to content

dmenu script for searching the web with customizable search engines.

License

Notifications You must be signed in to change notification settings

m0rphism/haskell-dmenu-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haskell-dmenu-search

dmenu script for searching the web with customizable search engines.

dmenu-search screenshot 1

dmenu-search screenshot 2

Runtime Dependencies: dmenu or dmenu2.

Installation: Either get the sources from this repository, or from hackage.

Usage:

  • dmenu-search [OPTIONS] [-- DMENUOPTIONS]

    Let's the user choose a search engine and enter a search string by spawning two subsequent dmenu processes, and opens the resulting URL in a browser.

    All arguments, after the first -- argument, are directly passed to dmenu.

Options:

  • -b, --browser CMD

    Shell command to open url in browser. Default: chromium -new-window

  • -e, --engine NAME URLPREFIX

    Add a search engine, e.g.

    -e google https://www.google.com/search?q=
    -e github https://github.com/search?q=
    
  • -E, --engine-file PATH

    Add search engines from a file.

    The following shows example content of an engine file:

    google
    https://www.google.com/search?q=
    
    github
    https://github.com/search?q=
    

The application is build with the dmenu Haskell bindings, which support customizing the dmenu commandline options in a configuration file.

About

dmenu script for searching the web with customizable search engines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published