summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-03-13 22:57:22 +0800
committer宋文武 <iyzsong@gmail.com>2015-03-13 22:57:22 +0800
commit482dbe6a1622dce33b1c4b83775a0e6c53008686 (patch)
tree182a2473e7fa856898aa72acd3279d49db72640f /gnu
parente0b85670cf29899edb0c23477301e10bb43831ef (diff)
downloadpatches-482dbe6a1622dce33b1c4b83775a0e6c53008686.tar
patches-482dbe6a1622dce33b1c4b83775a0e6c53008686.tar.gz
services: slim: Pass SESSION to ~/.xsession as "$1".
* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/xorg.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 14edf8cc04..c687b46bc2 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -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))