guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: ???
Subject: 03/03: services: slim: Pass SESSION to ~/.xsession as "$1".
Date: Fri, 13 Mar 2015 14:58:33 +0000

iyzsong pushed a commit to branch master
in repository guix.

commit 482dbe6a1622dce33b1c4b83775a0e6c53008686
Author: 宋文武 <address@hidden>
Date:   Fri Mar 13 22:57:22 2015 +0800

    services: slim: Pass SESSION to ~/.xsession as "$1".
    
    * gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
---
 gnu/services/xorg.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 14edf8c..c687b46 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]