added gs.sh

This commit is contained in:
kenji
2025-07-17 15:00:15 -05:00
parent a4e2cf06e9
commit 88b4ff68a6
2 changed files with 28 additions and 0 deletions
Executable
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -xeuo pipefail
gamescopeArgs=(
--adaptive-sync # VRR support
--hdr-enabled
--mangoapp # performance overlay
--rt
--steam
)
steamArgs=(
-pipewire-dmabuf
-tenfoot
)
mangoConfig=(
cpu_temp
gpu_temp
ram
vram
)
mangoVars=(
MANGOHUD=1
MANGOHUD_CONFIG="$(IFS=,; echo "${mangoConfig[*]}")"
)
export "${mangoVars[@]}"
exec gamescope "${gamescopeArgs[@]}" -- steam "${steamArgs[@]}"
+1
View File
@@ -51,6 +51,7 @@
# Always full screen
# "fullscreen, title:^(Steam Big Picture Mode)$"
"fullscreen, title:^(steam_app_.*)$"
# Dialogs
"float, title:(Select|Open)( a)? (File|Folder)(s)?"