fix(shared/hm): change around game startup scripts
This commit is contained in:
parent
6cb471ea80
commit
fad1915084
4 changed files with 13 additions and 15 deletions
|
|
@ -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 "$@"
|
||||||
|
|
|
||||||
|
|
@ -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 "$@"
|
||||||
|
|
|
||||||
|
|
@ -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 "$@"
|
|
||||||
11
shared/home-manager/scripts/games/launch_wayland.sh
Executable file
11
shared/home-manager/scripts/games/launch_wayland.sh
Executable 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 "$@"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue