Skip to content

Commit a07430a

Browse files
committed
script: Fix documentation for local scripts path
1 parent 5c58b15 commit a07430a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Scripts ending in `.lua` are executed recursively in alphabetical order from the
1515
- `/etc/gamescope`
1616
- `$XDG_CONFIG_DIR/gamescope`
1717

18-
You can develop easily without overriding your installation by setting `script_use_local_scripts` which will eliminate `/usr/share/gamescope` and `/etc/gamescope` from being read, and instead read from `../config` of where Gamescope is run instead of those.
18+
You can develop easily without overriding your installation by setting `script_use_local_scripts` which will eliminate `/usr/share/gamescope` and `/etc/gamescope` from being read, and instead read from `../scripts` of where Gamescope is run instead of those.
1919

2020
When errors are encountered, it will simply output that to the terminal. There is no visual indicator of this currently.
2121

src/Script/Script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace gamescope
1515
static LogScope s_ScriptLog{ "script" };
1616
static LogScope s_ScriptMgrLog{ "scriptmgr" };
1717

18-
static ConVar<bool> cv_script_use_local_scripts{ "script_use_local_scripts", false, "Whether or not to use the local scripts (../config) as opposed to the ones in /etc/gamescope.d" };
18+
static ConVar<bool> cv_script_use_local_scripts{ "script_use_local_scripts", false, "Whether or not to use the local scripts (../scripts) as opposed to the ones in /etc/gamescope.d" };
1919
static ConVar<bool> cv_script_use_user_scripts{ "script_use_user_scripts", true, "Whether or not to use user config scripts ($XDG_CONFIG_DIR/gamescope) at all." };
2020

2121
static std::string_view GetConfigDir()

0 commit comments

Comments
 (0)