scripts/bash/usr-local-bin/brave

12 lines
604 B
Bash
Executable File

#!/usr/bin/env bash
# To run Brave under Wayland
# with Mullvad proxy
# Wireguard: --proxy-server=socks5://10.64.0.1
# OpenVPN: --proxy-server=socks5://10.8.0.1
set -x
/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturerBraveVerticalTabs,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@
# --enable-features=,VaapiVideoDecoder,VaapiIgnoreDriverChecks,WebContentsForceDark --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers
set +x