diff options
Diffstat (limited to 'scripts/desktop/proton-env32')
| -rwxr-xr-x | scripts/desktop/proton-env32 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/desktop/proton-env32 b/scripts/desktop/proton-env32 index b6d2ebc..6b69976 100755 --- a/scripts/desktop/proton-env32 +++ b/scripts/desktop/proton-env32 @@ -4,6 +4,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 @@ -20,10 +21,9 @@ xrandr --output $MAIN_MONITOR --primary scxctl start --sched lavd --mode gaming if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then - #env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so" mangohud "$@" - env LD_PRELOAD="/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@" else - env LD_PRELOAD="/usr/lib/libgamemodeauto.so" "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so" "$@" fi scxctl stop |