Configuration
This commit is contained in:
parent
ea31b21329
commit
39393b1637
1 changed files with 14 additions and 17 deletions
|
|
@ -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
|
# Launch mode for Steam:
|
||||||
|
# bigpicture (default) → Steam -tenfoot
|
||||||
|
# gamepadui → Steam -gamepadui
|
||||||
STEAM_LAUNCH_MODE=bigpicture
|
STEAM_LAUNCH_MODE=bigpicture
|
||||||
|
|
||||||
# Performance tweaks:
|
# Performance mode:
|
||||||
# enabled → enable gamescope low-latency flags and perf tweaks
|
# enabled → adjust CPU governor + GPU performance settings while gaming
|
||||||
# disabled → run in a more conservative mode
|
# disabled → leave CPU/GPU settings alone
|
||||||
PERFORMANCE_MODE=enabled
|
PERFORMANCE_MODE=enabled
|
||||||
|
|
||||||
You can create the file manually or copy from an example:
|
You can safely create or edit this file at any time; changes will apply the next time you start Gaming Mode.
|
||||||
|
|
||||||
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.)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue