From 6efac1a12c8ab0b7d96a8d342fbd74fce35e8c42 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 18 Aug 2015 02:38:33 +0200 Subject: Organise everything systematically. --- config/uzbl/scripts/goto.pl | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 config/uzbl/scripts/goto.pl (limited to 'config/uzbl/scripts/goto.pl') diff --git a/config/uzbl/scripts/goto.pl b/config/uzbl/scripts/goto.pl deleted file mode 100755 index b1630d4..0000000 --- a/config/uzbl/scripts/goto.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 https://encrypted.google.com/search?q=@ARGV&hl=en" >> $fifo); -} -else -{ - qx(echo "uri @cmd" >> $fifo); -} -- cgit v1.2.3-54-g00ecf