summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rwxr-xr-xgo13
1 files changed, 13 insertions, 0 deletions
diff --git a/go b/go
index a3fe367..b7da20b 100755
--- a/go
+++ b/go
@@ -94,8 +94,12 @@ for ( @sites ) {
;
} elsif ($site{'browser'} eq "chrome") {
$prefered_browser = "chrome";
+ } elsif ($site{'browser'} eq "chromium") {
+ $prefered_browser = "chromium";
} elsif ($site{'browser'} eq "uzbl") {
$prefered_browser = "uzbl";
+ } elsif ($site{'browser'} eq "iceweasel") {
+ $prefered_browser = "iceweasel";
}
}
}
@@ -109,6 +113,15 @@ if($prefered_browser eq "dwb") {
} elsif($prefered_browser eq "chrome") {
$browser_command = "chrome";
unshift @browser_arguments, "--new-window";
+} elsif($prefered_browser eq "chromium") {
+ $browser_command = "chromium";
+ unshift @browser_arguments, "--new-window";
+ if($browser_profile_dir) {
+ unshift @browser_arguments, "--user-data-dir=$ENV{'HOME'}/.config/chromium/".$browser_profile_dir;
+ }
+} elsif($prefered_browser eq "iceweasel") {
+ $browser_command = "iceweasel";
+ unshift @browser_arguments, "-new-window";
} elsif($prefered_browser eq "uzbl") {
$browser_command = "uzbl";
}