bash/usr-local-bin/element: for Torifying Element

This commit is contained in:
Aminda Suomalainen 2022-03-08 11:59:49 +02:00
parent 3d3922f80e
commit a3db9a9751
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 10 additions and 0 deletions

10
bash/usr-local-bin/element Executable file
View File

@ -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