doc: modules/users: show what XDG_SESSION_{ID,CLASS,TYPE} could look like if set

This commit is contained in:
Colin 2024-05-30 08:27:42 +00:00
parent 175acf6442
commit 4c84d1a727

View File

@ -197,8 +197,12 @@ let
### normally a session manager (like systemd) would set these vars (at least) for me:
# - XDG_RUNTIME_DIR
# - XDG_SESSION_ID
# - e.g. `1`, or `2`. these aren't supposed to be reused during the same power cycle (whatever reuse means), and are used by things like `pipewire`'s context
# - doesn't have to be numeric, could be "colin"
# - XDG_SESSION_CLASS
# - e.g. "user"
# - XDG_SESSION_TYPE
# - e.g. "tty", "wayland"
# - XDG_VTNR
# - SYSTEMD_EXEC_PID
# some of my program-specific environment variables depend on some of these being set,