scripts/bash/usr-local-bin/brave

11 lines
584 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,WebRTCPipeWireCapturer,VaapiVideoDecoder,VaapiIgnoreDriverChecks,BraveVerticalTabs,EncryptedClientHello,UseDnsHttpsSvcbAlpn,WebContentsForceDark --ozone-platform-hint=auto --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers $@
set +x