bash/usr-local-bin/steam: configure mangohud, prefer flatpak, run with mangohud & gamemoderun

This commit is contained in:
Aminda Suomalainen 2023-02-27 17:57:24 +02:00
parent a7940c00dc
commit 3ef6d81507
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 4 additions and 2 deletions

View File

@ -1,12 +1,14 @@
#!/usr/bin/env bash
set -x
#export MANGOHUD=1
export MANGOHUD_CONFIG=position=bottom-left,font_size=18
# So my Steam downloads don't go through the VPN and it won't prompt for
# password that often
#/usr/bin/mullvad-exclude
/usr/bin/steam $@
#/usr/bin/steam $@
# Having "flatpak run" will make mullvad-exclude lose effect!
# Additionally I wasn't able to get this to access the usual game library
# or keep using compatibility tool (Proton) checked.
#/usr/bin/mullvad-exclude
#/var/lib/flatpak/exports/bin/com.valvesoftware.Steam $@
mangohud gamemoderun /var/lib/flatpak/exports/bin/com.valvesoftware.Steam $@
set +x