added gs.sh
This commit is contained in:
@@ -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[@]}"
|
||||||
@@ -51,6 +51,7 @@
|
|||||||
|
|
||||||
# Always full screen
|
# Always full screen
|
||||||
# "fullscreen, title:^(Steam Big Picture Mode)$"
|
# "fullscreen, title:^(Steam Big Picture Mode)$"
|
||||||
|
"fullscreen, title:^(steam_app_.*)$"
|
||||||
|
|
||||||
# Dialogs
|
# Dialogs
|
||||||
"float, title:(Select|Open)( a)? (File|Folder)(s)?"
|
"float, title:(Select|Open)( a)? (File|Folder)(s)?"
|
||||||
|
|||||||
Reference in New Issue
Block a user