linuxware/shared/home-manager/scripts/games/launch.sh
Alexandre Cavalheiro S. Tiago da Silva 232abf3975
fix(hm/scripts): game launch changes
Enable `ntsync`, AMD anti lag, enable Wayland by default.
2026-02-24 14:14:13 -03:00

13 lines
317 B
Bash
Executable file

#!/bin/sh
# I've removed all environment variables
# 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 "$@"