From a3db9a9751bf6fe81793fe2db20795eab9d749f5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 8 Mar 2022 11:59:49 +0200 Subject: [PATCH] bash/usr-local-bin/element: for Torifying Element --- bash/usr-local-bin/element | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bash/usr-local-bin/element 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