diff options
author | cos <cos> | 2015-03-24 10:41:21 +0100 |
---|---|---|
committer | cos <cos> | 2015-03-24 10:41:21 +0100 |
commit | f3e4d53e1c65534ae0af0114f3cb3f4c831c92bc (patch) | |
tree | b146909387f6f10e5b83f2721c6b93c9c9d8ad0f | |
parent | 21d482c38f01a030bcf1192cbf6b3b1345bcae87 (diff) | |
parent | 563ec08e2620f69ce94bd4521928edced7ad7854 (diff) | |
download | go-webbrowser-launcher-debian.zip |
Merge branch 'master' into debiandebian
-rwxr-xr-x | go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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"; } |