summaryrefslogtreecommitdiff
path: root/scripts/desktop
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-11-21 14:50:30 -0500
committerAndrew Opalach <andrew@akon.city> 2025-11-21 14:50:30 -0500
commit61c027738785e0585202b7b3a828e05344510f66 (patch)
tree1a900c432c62b74e0e66d6f8f346030af8b187ec /scripts/desktop
parent44edb4b57655de5b21c51d0471e2ea02ac469c0c (diff)
downloaddotfiles-61c027738785e0585202b7b3a828e05344510f66.tar.gz
dotfiles-61c027738785e0585202b7b3a828e05344510f66.tar.bz2
dotfiles-61c027738785e0585202b7b3a828e05344510f66.zip
Tweaks
Diffstat (limited to 'scripts/desktop')
-rwxr-xr-xscripts/desktop/7z-password2
-rwxr-xr-xscripts/desktop/proton-env12
2 files changed, 9 insertions, 5 deletions
diff --git a/scripts/desktop/7z-password b/scripts/desktop/7z-password
index 72e90f9..30d843c 100755
--- a/scripts/desktop/7z-password
+++ b/scripts/desktop/7z-password
@@ -1,2 +1,2 @@
#! /usr/bin/env sh
-7z a -p -mhe=on $1 $2
+7z a -p -mhe=on $@
diff --git a/scripts/desktop/proton-env b/scripts/desktop/proton-env
index d62f488..c228b24 100755
--- a/scripts/desktop/proton-env
+++ b/scripts/desktop/proton-env
@@ -3,12 +3,12 @@
# https://gist.github.com/Kron4ek/af1bbc1353302751a0941308294ec24a
export STEAM_COMPAT_LAUNCHER_SERVICE=proton
+export PROTON_USE_NTSYNC=1
export DXVK_HUD=compiler
export DXVK_LOG_LEVEL=none
export DXVK_DEBUG=none
-export VKD3D_HUD=compiler
export VKD3D_DEBUG=none
export VKD3D_SHADER_DEBUG=none
@@ -17,9 +17,13 @@ unset SDL_VIDEO_DRIVER
xrandr --output $MAIN_MONITOR --primary
+scxctl start --sched bpfland --mode gaming
+
+# LD_PRELOAD could disable steam overlay if the old value wasn't included.
if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then
- exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" mangohud "$@"
- #exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so:/usr/lib64/libMangoHud.so:/usr/lib64/libMangoHud_opengl.so" mangohud "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@"
else
- exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" "$@"
+ env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" "$@"
fi
+
+scxctl stop