services: slim: Pass SESSION to ~/.xsession as "$1".
* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.master
parent
e0b85670cf
commit
482dbe6a16
|
@ -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))
|
||||||
|
|
Reference in New Issue