Configuration

This commit is contained in:
Gavin Nugent 2025-11-23 19:12:16 +00:00 committed by GitHub
parent 79a48c6367
commit c2c2be122a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
Configuration Normal file
View file

@ -0,0 +1,22 @@
The script reads a config file from:
1. ~/.gaming-mode.conf (user override), or
2. /etc/gaming-mode.conf (system-wide default)
Available options
# How Steam launches:
# bigpicture → steam -tenfoot (default)
# gamepadui → steam -gamepadui
STEAM_LAUNCH_MODE=bigpicture
# Performance tweaks:
# enabled → enable gamescope low-latency flags and perf tweaks
# disabled → run in a more conservative mode
PERFORMANCE_MODE=enabled
You can create the file manually or copy from an example:
sudo cp docs/gaming-mode.conf.example /etc/gaming-mode.conf
sudo $EDITOR /etc/gaming-mode.conf
(User-specific overrides should go in ~/.gaming-mode.conf.)