aboutsummaryrefslogtreecommitdiff
path: root/config/uzbl/scripts/gowikio.pl
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-08-18 02:38:33 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-08-18 02:38:33 +0200
commit6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42 (patch)
tree93ebfb332b3a231931fe1b1276632bdaa33fa6e4 /config/uzbl/scripts/gowikio.pl
parentc021038355b6773ab13dae92327fda50c366395f (diff)
downloaddotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.tar.gz
dotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.tar.bz2
dotfiles-6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42.zip
Organise everything systematically.
Diffstat (limited to 'config/uzbl/scripts/gowikio.pl')
-rwxr-xr-xconfig/uzbl/scripts/gowikio.pl16
1 files changed, 0 insertions, 16 deletions
diff --git a/config/uzbl/scripts/gowikio.pl b/config/uzbl/scripts/gowikio.pl
deleted file mode 100755
index 743c69c..0000000
--- a/config/uzbl/scripts/gowikio.pl
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/perl
-
-my @cmd = @ARGV;
-my $fifo = $ENV{'UZBL_FIFO'};
-
-
-#If there are no dots in the first word or more than one word is suppllied expect a phrase for google. Else go to the uri specified.
-if (index(@cmd[0], '.') == -1 || scalar @cmd > 1)
-{
- # Replace this with your search engine
- qx(echo "uri http://en.wikipedia.org/w/index.php?search=@ARGV" >> $fifo);
-}
-else
-{
- qx(echo "uri @cmd" >> $fifo);
-}