summarylogtreecommitdiffstats
path: root/zoom-firefox
diff options
context:
space:
mode:
authorDuologic2020-11-10 14:35:18 +0100
committerDuologic2020-11-10 14:35:18 +0100
commit50017be396015145b9335cce1796540c2bc072cd (patch)
tree089cb45b4c7df8a6f3dcf58ed45b1b3e799015b5 /zoom-firefox
parent4b4a1765844802e7f45253fb53ee8e03a2a3a4af (diff)
downloadaur-zoom-firefox.tar.gz
show join if run without param
Diffstat (limited to 'zoom-firefox')
-rwxr-xr-xzoom-firefox8
1 files changed, 7 insertions, 1 deletions
diff --git a/zoom-firefox b/zoom-firefox
index 420ac462ced1..ed876d0be1d0 100755
--- a/zoom-firefox
+++ b/zoom-firefox
@@ -5,4 +5,10 @@ IFS='=&'
parm=($1)
IFS=$saveIFS
-/usr/bin/firefox "https://zoom.us/wc/${parm[3]}/join"
+if [[ -n $1 ]]; then
+ URL="https://zoom.us/wc/${parm[3]}/join"
+else
+ URL="https://zoom.us/join/"
+fi
+
+/usr/bin/firefox --ssb ${URL}