Configuration

This commit is contained in:
Gavin Nugent 2025-11-23 19:32:30 +00:00 committed by GitHub
parent ea31b21329
commit 39393b1637
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,22 +1,19 @@
The script reads a config file from: W.O.P.R. reads an optional configuration file from:
1. ~/.gaming-mode.conf (user override), or • User-level (preferred): ~/.gaming-mode.conf
2. /etc/gaming-mode.conf (system-wide default) • System-wide: /etc/gaming-mode.conf
Available options If neither exists, sensible defaults are used.
# How Steam launches: Example ~/.gaming-mode.conf
# bigpicture → steam -tenfoot (default)
# gamepadui → steam -gamepadui
STEAM_LAUNCH_MODE=bigpicture
# Performance tweaks: # Launch mode for Steam:
# enabled → enable gamescope low-latency flags and perf tweaks # bigpicture (default) → Steam -tenfoot
# disabled → run in a more conservative mode # gamepadui → Steam -gamepadui
PERFORMANCE_MODE=enabled STEAM_LAUNCH_MODE=bigpicture
You can create the file manually or copy from an example: # Performance mode:
# enabled → adjust CPU governor + GPU performance settings while gaming
# disabled → leave CPU/GPU settings alone
PERFORMANCE_MODE=enabled
sudo cp docs/gaming-mode.conf.example /etc/gaming-mode.conf You can safely create or edit this file at any time; changes will apply the next time you start Gaming Mode.
sudo $EDITOR /etc/gaming-mode.conf
(User-specific overrides should go in ~/.gaming-mode.conf.)