3
0
Fork 0
forked from mirrors/nixpkgs

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:
Hugo Geoffroy 2019-06-15 05:22:35 +02:00
parent 3d91781151
commit a23798e478

View file

@ -109,7 +109,7 @@ let
# Allow the user to setup a custom session type.
if test -x ~/.xsession; then
exec ~/.xsession
eval exec ~/.xsession "$@"
fi
if test "$1"; then