From 83bee8a0cc7c469ae8c08b6016dc22a10c35d4d4 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 14 Aug 2020 11:29:04 +0200
Subject: Use chromium instead of chromium-browser
---
.local/bin/open | 14 +++++++-------
1 file 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')) }
--
cgit v1.1