fix(shared/hm): change around game startup scripts

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2026-04-05 13:08:15 -03:00
parent 6cb471ea80
commit fad1915084
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
4 changed files with 13 additions and 15 deletions

View file

@ -4,10 +4,7 @@
# but there might be useful ones in the future. # but there might be useful ones in the future.
# https://docs.mesa3d.org/envvars.html # https://docs.mesa3d.org/envvars.html
export ENABLE_LAYER_MESA_ANTI_LAG=1 export ENABLE_LAYER_MESA_ANTI_LAG=1
export PROTON_ENABLE_WAYLAND=1
export PROTON_USE_NTSYNC=1 export PROTON_USE_NTSYNC=1
export WAYLANDDRV_PRIMARY_MONITOR=DP-2
obs-gamecapture mangohud gamemoderun "$@" obs-gamecapture mangohud gamemoderun "$@"

View file

@ -3,8 +3,6 @@
# This script is to disable ntsync in case # This script is to disable ntsync in case
# it brings up problems. # it brings up problems.
PROTON_NO_ESYNC=0 export ENABLE_LAYER_MESA_ANTI_LAG=1
PROTON_NO_FSYNC=0
PROTON_USE_NTSYNC=0
~/.local/share/scripts/games/launch.sh "$@" obs-gamecapture mangohud gamemoderun "$@"

View file

@ -1,8 +0,0 @@
#!/bin/sh
# This script is just to disable wayland support
# in case I need Steam Overlay or Steam Input in that game.
PROTON_ENABLE_WAYLAND=0
~/.local/share/scripts/games/launch.sh "$@"

View file

@ -0,0 +1,11 @@
#!/bin/sh
# This script is just to disable wayland support
# in case I need Steam Overlay or Steam Input in that game.
export ENABLE_LAYER_MESA_ANTI_LAG=1
export PROTON_ENABLE_WAYLAND=1
export PROTON_USE_NTSYNC=1
export WAYLANDDRV_PRIMARY_MONITOR=DP-2
obs-gamecapture mangohud gamemoderun "$@"