bash/usr-local-bin/{brave,deltachat,microsoft-edge,steam}: don't require mullvad

This commit is contained in:
Aminda Suomalainen 2022-09-28 20:35:16 +03:00
parent 351ab22116
commit 3be80f7641
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 13 additions and 8 deletions

View File

@ -1,9 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# To run Brave under Wayland with Mullvad proxy # To run Brave under Wayland
# with Mullvad proxy
# Wireguard: --proxy-server=socks5://10.64.0.1 # Wireguard: --proxy-server=socks5://10.64.0.1
# OpenVPN: --proxy-server=socks5://10.8.0.1 # OpenVPN: --proxy-server=socks5://10.8.0.1
set -x set -x
/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode --proxy-server=socks5://10.64.0.1 $@ /usr/bin/brave-browser-stable --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode $@
set +x set +x

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# DeltaChat flatpak with easier command and outside of Mullvad VPN. # DeltaChat flatpak with easier command (and outside of Mullvad VPN if configured as).
# Gandi.net mail servers don't like Mullvad IPs resulting inability to send # Gandi.net mail servers don't like Mullvad IPs resulting inability to send
# anything. # anything.
@ -11,5 +11,6 @@
set -x set -x
# Having "flatpak run" will make mullvad-exclude lose effect! # Having "flatpak run" will make mullvad-exclude lose effect!
/usr/bin/mullvad-exclude /var/lib/flatpak/exports/bin/chat.delta.desktop --disable-gpu $@ #/usr/bin/mullvad-exclude
/var/lib/flatpak/exports/bin/chat.delta.desktop --disable-gpu $@
set +x set +x

View File

@ -1,9 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# To run Microsoft Edge under Wayland with Mullvad proxy # To run Microsoft Edge under Wayland
# with Mullvad proxy
# Wireguard: --proxy-server=socks5://10.64.0.1 # Wireguard: --proxy-server=socks5://10.64.0.1
# OpenVPN: --proxy-server=socks5://10.8.0.1 # OpenVPN: --proxy-server=socks5://10.8.0.1
set -x set -x
/usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode --proxy-server=socks5://10.64.0.1 $@ /usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode $@
set +x set +x

View File

@ -2,9 +2,11 @@
set -x set -x
# So my Steam downloads don't go through the VPN and it won't prompt for # So my Steam downloads don't go through the VPN and it won't prompt for
# password that often # password that often
/usr/bin/mullvad-exclude /usr/bin/steam $@ #/usr/bin/mullvad-exclude
/usr/bin/steam $@
# Having "flatpak run" will make mullvad-exclude lose effect! # Having "flatpak run" will make mullvad-exclude lose effect!
# Additionally I wasn't able to get this to access the usual game library # Additionally I wasn't able to get this to access the usual game library
# or keep using compatibility tool (Proton) checked. # or keep using compatibility tool (Proton) checked.
#/usr/bin/mullvad-exclude /var/lib/flatpak/exports/bin/com.valvesoftware.Steam $@ #/usr/bin/mullvad-exclude
#/var/lib/flatpak/exports/bin/com.valvesoftware.Steam $@
set +x set +x