2022-04-18 11:56:06 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-05-31 18:41:04 +02:00
|
|
|
# Torifying Element with Wayland
|
|
|
|
|
2022-04-18 11:56:06 +02:00
|
|
|
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.
|
2022-05-31 18:41:04 +02:00
|
|
|
flatpak run im.riot.Riot --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@
|
2022-04-18 11:56:06 +02:00
|
|
|
set +x
|