fix(hm/scripts): game launch changes
Enable `ntsync`, AMD anti lag, enable Wayland by default.
This commit is contained in:
parent
cde6bdf08b
commit
232abf3975
3 changed files with 24 additions and 0 deletions
|
|
@ -4,4 +4,10 @@
|
|||
# but there might be useful ones in the future.
|
||||
# https://docs.mesa3d.org/envvars.html
|
||||
|
||||
|
||||
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 "$@"
|
||||
|
|
|
|||
10
shared/home-manager/scripts/games/launch_nontsync.sh
Executable file
10
shared/home-manager/scripts/games/launch_nontsync.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This script is to disable ntsync in case
|
||||
# it brings up problems.
|
||||
|
||||
PROTON_NO_ESYNC=0
|
||||
PROTON_NO_FSYNC=0
|
||||
PROTON_USE_NTSYNC=0
|
||||
|
||||
~/.local/share/scripts/games/launch.sh "$@"
|
||||
8
shared/home-manager/scripts/games/launch_nowayland.sh
Executable file
8
shared/home-manager/scripts/games/launch_nowayland.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue