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:
parent
3d91781151
commit
a23798e478
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue