From 482dbe6a1622dce33b1c4b83775a0e6c53008686 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Fri, 13 Mar 2015 22:57:22 +0800 Subject: services: slim: Pass SESSION to ~/.xsession as "$1". * gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession. --- gnu/services/xorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/services') 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 @@ (define (exec-from-login-shell command . args) (_ #$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)) -- cgit v1.2.3