summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2015-02-14 16:05:48 +0100
committercos <cos>2015-02-14 16:05:48 +0100
commit151688af1677e09bedfa0db26550f9fb1763c84d (patch)
tree7ceb16643bed657b7c02dafcf1b292fda3b7bd6a
parent8045f78b9c6df38dd44a665ed0619ec5dd560991 (diff)
downloadgo-webbrowser-launcher-151688af1677e09bedfa0db26550f9fb1763c84d.zip
Initial uzbl support.
-rwxr-xr-xgo4
1 files changed, 4 insertions, 0 deletions
diff --git a/go b/go
index 18ef3f4..a3fe367 100755
--- a/go
+++ b/go
@@ -94,6 +94,8 @@ for ( @sites ) {
;
} elsif ($site{'browser'} eq "chrome") {
$prefered_browser = "chrome";
+ } elsif ($site{'browser'} eq "uzbl") {
+ $prefered_browser = "uzbl";
}
}
}
@@ -107,6 +109,8 @@ if($prefered_browser eq "dwb") {
} elsif($prefered_browser eq "chrome") {
$browser_command = "chrome";
unshift @browser_arguments, "--new-window";
+} elsif($prefered_browser eq "uzbl") {
+ $browser_command = "uzbl";
}
system($iconv->convert($browser_command), @browser_arguments);