summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-04-25 14:28:02 -0400
committerAndrew Opalach <andrew@akon.city> 2026-04-25 14:46:39 -0400
commit0848d6c89defb95966deeecd1c61352deccbeaec (patch)
tree21a2e74fcabb85c02fda8959badc08b0f7de0261 /scripts
parentef40a5119a77280863c21ba67397818514714ccc (diff)
downloaddotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.gz
dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.bz2
dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.zip
New CPU + Cleanup
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/desktop/proton-env7
-rwxr-xr-xscripts/desktop/proton-env326
2 files changed, 6 insertions, 7 deletions
diff --git a/scripts/desktop/proton-env b/scripts/desktop/proton-env
index 3aa66e1..4c87487 100755
--- a/scripts/desktop/proton-env
+++ b/scripts/desktop/proton-env
@@ -6,6 +6,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
@@ -26,11 +27,9 @@ xrandr --output $MAIN_MONITOR --primary
scxctl start --sched lavd --mode gaming
if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then
- # If the old LD_PRELOAD isn't included steam overlay will be disabled. Lag bomb still an issue?
- #env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@"
- env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" mangohud "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@"
else
- env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" "$@"
fi
scxctl stop
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