scripts/bash/usr-local-bin/element

14 lines
479 B
Bash
Executable File

#!/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 is preferred for Element not having official Fedora repositories
# and at the time of writing being unmaintained in upstream suggested repo.
# Also workaround my electron curse
flatpak run im.riot.Riot --disable-gpu --proxy-server=socks5://127.0.0.1:9050 $@
set +x