Merge branch 'xprofile' of git://github.com/pSub/nixpkgs into master

Allow the user to execute commands at the beginning of the X session.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-01-17 09:27:22 -05:00
commit 7f15b0c132

View File

@ -103,6 +103,11 @@ let
${cfg.displayManager.sessionCommands}
# Allow the user to execute commands at the beginning of the X session.
if test -f ~/.xprofile; then
source ~/.xprofile
fi
# Allow the user to setup a custom session type.
if test -x ~/.xsession; then
exec ~/.xsession