services: slim: Pass SESSION to ~/.xsession as "$1".

* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
This commit is contained in:
宋文武 2015-03-13 22:57:22 +08:00
parent e0b85670cf
commit 482dbe6a16

View File

@ -175,7 +175,7 @@ which should be passed to this script as the first argument. If not, the
(_ #$fallback-session))))
(if (file-exists? xsession-file)
;; Run ~/.xsession when it exists.
(exec-from-login-shell xsession-file)
(exec-from-login-shell xsession-file session)
;; Otherwise, start the specified session.
(exec-from-login-shell session)))))
(gexp->script "xinitrc" builder))