me
/
guix
Archived
1
0
Fork 0

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

* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
master
宋文武 2015-03-13 22:57:22 +08:00
parent e0b85670cf
commit 482dbe6a16
1 changed files with 1 additions and 1 deletions

View File

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