Giter Site home page Giter Site logo

haskell-dmenu-search's Introduction

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.

haskell-dmenu-search's People

Contributors

m0rphism avatar

Stargazers

Scott avatar  avatar Rizqi Nur Assyaufi avatar Janusz Ładecki avatar  avatar Norton avatar Hossein Abedi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.