summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2023-03-05 16:39:28 -0800
committerGitHub <noreply@github.com>2023-03-05 16:39:28 -0800
commit6df09f9fcb1d8331bacab52e3c9266eeb8f76f3f (patch)
tree2b492f626b9c7b8401685a228a7d3100e5cdfae8
parent16f44fc8b127b68a864678115c7e165a51691f63 (diff)
downloaddecky-bazzite-buddy-6df09f9fcb1d8331bacab52e3c9266eeb8f76f3f.tar.gz
decky-bazzite-buddy-6df09f9fcb1d8331bacab52e3c9266eeb8f76f3f.zip
Added USER_ID and DECKY_USER_ID env vars
-rw-r--r--decky_plugin.pyi15
1 files changed, 15 insertions, 0 deletions
diff --git a/decky_plugin.pyi b/decky_plugin.pyi
index b311a55..72e1686 100644
--- a/decky_plugin.pyi
+++ b/decky_plugin.pyi
@@ -36,6 +36,14 @@ It would be `root` if `root` was specified in the plugin's flags otherwise the u
e.g.: `deck`
"""
+USER_ID: int
+"""
+The effective UID running the process.
+Environment variable: `UID`.
+It would be `0` if `root` was specified in the plugin's flags otherwise the id of the user whose home decky resides in.
+e.g.: `1000`
+"""
+
DECKY_VERSION: str
"""
The version of the decky loader.
@@ -50,6 +58,13 @@ Environment variable: `DECKY_USER`.
e.g.: `deck`
"""
+DECKY_USER_ID: int
+"""
+The UID of the user whose home decky resides in.
+Environment variable: `DECKY_USER_ID`.
+e.g.: `1000`
+"""
+
DECKY_USER_HOME: str
"""
The home of the user where decky resides in.