commit 5c339f97eb5590d247a8c29b8216e6314e78839f parent ea6954c9c7d0f2cda3edc96bd003383645441a1b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Thu, 10 Dec 2020 10:41:37 +0100 zoom.sh: set correct environment to enable webassembly Diffstat:
M | .local/bin/zoom.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/zoom.sh b/.local/bin/zoom.sh @@ -5,5 +5,5 @@ sudo -u zoom sh -c 'export DISPLAY=:1; dwm & printf '%s' '$url' | xclip" if command -v zoom >/dev/null 2>&1; then sudo -u zoom sh -c 'DISPLAY=:1 zoom '$url' >/dev/null 2>&1 &' else - sudo -u zoom sh -c "DISPLAY=:1 chromium '$url' >/dev/null &" + sudo -u zoom sh -c "export DISPLAY=:1; export ENABLE_WASM=1; chrome --enable-wasm '$url' >/dev/null &" fi