updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / regain-desktop / search-regain.sh
blob1f29c5c34d09b59b2c1220376f9e5e82e737b3a8
1 #! /bin/bash
3 # A quick'n'dirty GNOME Search Box for Regain similar to
4 # Google Desktop's Quick Search Box.
5 # Install zenity, start Regain and assign a hotkey to this script.
7 # Please note: This script was not provided by the authors of Regain, but
8 # by the maintainer of the PKGBUILD - Frank Poehler <fp29129@googlemail.com>.
9 # It is released under the same license as Regain.
10 # For questions, suggestions or bug reports regarding this script,
11 # just drop me a line.
13 searchterm=`zenity --entry --title="Search Regain" --text="Please enter your search term."`
14 if ! test -z "$searchterm" ; then
15 xdg-open http://localhost:8020/search.jsp?query="$searchterm"&order=relevance_desc &
17 exit 0