diff --git a/bash/usr-local-bin/element b/bash/usr-local-bin/element new file mode 100755 index 0000000..66331cb --- /dev/null +++ b/bash/usr-local-bin/element @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Torifying Element + +set -x +# proxy authentication is not supported +# https://github.com/vector-im/element-web/issues/3320 +/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@ +#flatpak run im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 $@ +set +x