From 3ef6d81507915ae9f8e6df860bb7c0c3cff7df93 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 27 Feb 2023 17:57:24 +0200 Subject: [PATCH] bash/usr-local-bin/steam: configure mangohud, prefer flatpak, run with mangohud & gamemoderun --- bash/usr-local-bin/steam | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bash/usr-local-bin/steam b/bash/usr-local-bin/steam index 6a7eea7..6bedcf3 100755 --- a/bash/usr-local-bin/steam +++ b/bash/usr-local-bin/steam @@ -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