diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-08-14 11:29:04 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 11:59:42 +0200 |
commit | 83bee8a0cc7c469ae8c08b6016dc22a10c35d4d4 (patch) | |
tree | d0d0758ef33f01ea7feafa296ab572eec18f1768 /.local | |
parent | e9eaeebcc348581c58cffbaa53071c20c9eb4bd7 (diff) |
Use chromium instead of chromium-browser
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/open | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/open b/.local/bin/open index ae290b7..22a8429 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -42,13 +42,13 @@ proto cmd ($ --> Str) { * } # URLs only used in a work setting, which should open in the browser used for # working purposes. -multi sub cmd (HttpUrl $t where { $_.hostname.ends-with('gitlab.com') && $_.path[0].?fc eq 'mintlab' }) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('atlassian.net')) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('aws.amazon.com')) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('google.com')) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('slack.com')) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.net')) { "chromium-browser '$t'" } -multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.nl')) { "chromium-browser '$t'" } +multi sub cmd (HttpUrl $t where { $_.hostname.ends-with('gitlab.com') && $_.path[0].?fc eq 'mintlab' }) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('atlassian.net')) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('aws.amazon.com')) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('google.com')) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('slack.com')) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.net')) { "chromium '$t'" } +multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.nl')) { "chromium '$t'" } # Rewrite bad site to good site multi sub cmd (HttpUrl $t is copy where *.hostname eq "twitter.com") { callwith(URL.new(|$t.Hash, hostname => 'nitter.net')) } |