diff options
author | Duologic | 2020-11-10 14:35:18 +0100 |
---|---|---|
committer | Duologic | 2020-11-10 14:35:18 +0100 |
commit | 50017be396015145b9335cce1796540c2bc072cd (patch) | |
tree | 089cb45b4c7df8a6f3dcf58ed45b1b3e799015b5 /zoom-firefox | |
parent | 4b4a1765844802e7f45253fb53ee8e03a2a3a4af (diff) | |
download | aur-zoom-firefox.tar.gz |
show join if run without param
Diffstat (limited to 'zoom-firefox')
-rwxr-xr-x | zoom-firefox | 8 |
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} |