#!/bin/sh
# use dmenu(1) to open badwolf(1) searching duckduckgo.com with the
# query you pass to it.
#
# TODO: better url encoding
#

encoded=`echo $@ | sed -e 's/ /%20/g'`

badwolf https://html.duckduckgo.com/html?q=$encoded
