dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

winehq (707B)


      1 #!/bin/sh
      2 # AUTHOR: gotbletu (@gmail|twitter|youtube|github|lbry)
      3 #
      4 # DATE: Thu Jan 17 2013
      5 #
      6 # DESC: Elvi to search winehq
      7 # elvis: winehq		-- Search WineHQ for wine software ratings (www.winehq.org)
      8 . surfraw || exit 1
      9 
     10 w3_usage_hook () {
     11     cat <<EOF
     12 Usage: $w3_argv0 [options] [search words]...
     13 Description:
     14   Search winehq (www.winehq.org) for wine software ratings
     15 EOF
     16     w3_global_usage
     17 }
     18 
     19 w3_config
     20 w3_parse_args "$@"
     21 if test -z "$w3_args"; then
     22     w3_browse_url "http://www.winehq.org"
     23 else
     24     escaped_args=`w3_url_of_arg $w3_args`
     25     w3_browse_url "http://www.winehq.org/search?cx=partner-pub-0971840239976722:w9sqbcsxtyf&cof=FORID:10&ie=UTF-8&q=${escaped_args}&siteurl=appdb.winehq.org/"
     26 fi