From a6535b9152933b1aba96ec17ab317517b6eff75d Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Thu, 25 Sep 2025 08:29:36 +0200 Subject: [PATCH] Update custom sessions' README Signed-off-by: AnErrupTion --- res/custom-sessions/README | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/res/custom-sessions/README b/res/custom-sessions/README index 23c1ed1..2911923 100644 --- a/res/custom-sessions/README +++ b/res/custom-sessions/README @@ -15,8 +15,9 @@ syntax is the same as described in the Freedesktop Desktop Entry Specification. The Terminal value specifies if standard output and standard error should be redirected to the session log file found in Ly's configuration file. If set to true, Ly will consider the program is going to run in a TTY, and thus will not -redirect standard output & error. +redirect standard output & error. It is optional and defaults to false. -Finally, do note that the XDG_SESSION_TYPE environment variable is set to -"unspecified" (without quotes), which is behavior that at least systemd -recognizes (see pam_systemd's man page) +Finally, do note that, if the Terminal value is set to true, the +XDG_SESSION_TYPE environment variable will be set to "tty". Otherwise, it will +be set to "unspecified" (without quotes), which is behavior that at least +systemd recognizes (see pam_systemd's man page).