-
-
Save tsprlng/fc71ca68c77cff7a03ff20e16571fbd2 to your computer and use it in GitHub Desktop.
zoom.us without ruining my arch install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
meeting_id="$1" | |
image_name='tsprlng/zoom' # Originally mdouchement/zoom-us:latest but ran `docker commit` once correct config was set | |
# TODO build a smaller image (sadly jessfraz's won't speak to my pulse server -- older lib version?) | |
# TODO build a tar for runc instead of using docker | |
args=() | |
[[ -n "$meeting_id" ]] && args+=( "zoommtg://zoom.us/join?action=join&confno=$meeting_id" ) | |
# TODO bindmount ~/tmp to wherever it tries to save video/files to | |
xhost +si:localuser:tds # this possibly relies on my UID happening to match... | |
sudo docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -e PULSE_SERVER=/run/pulse/native -v /run/user/1000/pulse:/run/pulse:ro --device /dev/video0 --device /dev/dri "$image_name" zoom "${args[@]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
now using firejail with pinned AUR package instead, but may as well leave this here