summaryrefslogtreecommitdiff
path: root/scripts/desktop/proton-env
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/desktop/proton-env')
-rwxr-xr-xscripts/desktop/proton-env7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/desktop/proton-env b/scripts/desktop/proton-env
index 3aa66e1..4c87487 100755
--- a/scripts/desktop/proton-env
+++ b/scripts/desktop/proton-env
@@ -6,6 +6,7 @@ export STEAM_COMPAT_LAUNCHER_SERVICE=proton
export PROTON_USE_NTSYNC=1
export PROTON_ENABLE_WAYLAND=1
+export PROTON_WAYLAND_MONITOR=$MAIN_MONITOR
export DXVK_HUD=compiler
export DXVK_LOG_LEVEL=none
@@ -26,11 +27,9 @@ xrandr --output $MAIN_MONITOR --primary
scxctl start --sched lavd --mode gaming
if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then
- # If the old LD_PRELOAD isn't included steam overlay will be disabled. Lag bomb still an issue?
- #env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@"
- env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" mangohud "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@"
else
- env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" "$@"
fi
scxctl stop