Added .xsession support

If user have ~/.xsession file it will be sourced.

svn path=/nixos/trunk/; revision=9231
This commit is contained in:
Yury G. Kudryashov 2007-09-01 17:57:04 +00:00
parent 475ee4548d
commit 0c4a936419

View File

@ -133,6 +133,11 @@ let
export SSH_ASKPASS=${x11_ssh_askpass}/libexec/x11-ssh-askpass
eval $(${openssh}/bin/ssh-agent)
" else ""}
### Allow user to override system-wide configuration
if test -f ~/.xsession; then
source ~/.xsession;
fi
### Start a window manager.