nixos/x11: provide selected session to custom session
The custom session script is always executed (when it exists). This change passes the selected session script and select session name to the custom session script, so that it can defer to the selected session script based on the value of the selected session name.
This commit is contained in:
@@ -109,7 +109,7 @@ let
|
|||||||
|
|
||||||
# Allow the user to setup a custom session type.
|
# Allow the user to setup a custom session type.
|
||||||
if test -x ~/.xsession; then
|
if test -x ~/.xsession; then
|
||||||
exec ~/.xsession
|
eval exec ~/.xsession "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$1"; then
|
if test "$1"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user