commit 0332686adc1baeb8aefff7ab24bb4ffbbb8d483a
parent fd679d52db93c9ba886cfa5797da1b31797b31b0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 12 Nov 2020 10:40:42 +0100
plumb: open Zoom links in chromium with WASM enabled
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -242,7 +242,13 @@ handle_url() {
#rm "$f"
elif regeximatch "$t" '^(http|https)://' || \
regeximatch "$t" '\.webp$'; then
- detach $prefix $BROWSER "$t"
+
+ if regeximatch "$t" '\.zoom\.us/'; then
+ export ENABLE_WASM=1
+ detach chrome --enable-wasm "$t"
+ else
+ detach $prefix $BROWSER "$t"
+ fi
else
die "unknown target type: $t"
fi