services: xorg: Assume STARTX is a regular value.
* gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value, not a monadic value.
This commit is contained in:
parent
12422c9d38
commit
1eca6c36ad
|
@ -246,7 +246,9 @@ theme to use. In that case, @var{theme-name} specifies the name of the
|
||||||
theme."
|
theme."
|
||||||
|
|
||||||
(define (slim.cfg)
|
(define (slim.cfg)
|
||||||
(mlet %store-monad ((startx (or startx (xorg-start-command)))
|
(mlet %store-monad ((startx (if startx
|
||||||
|
(return startx)
|
||||||
|
(xorg-start-command)))
|
||||||
(xinitrc (xinitrc #:fallback-session
|
(xinitrc (xinitrc #:fallback-session
|
||||||
auto-login-session)))
|
auto-login-session)))
|
||||||
(text-file* "slim.cfg" "
|
(text-file* "slim.cfg" "
|
||||||
|
|
Loading…
Reference in New Issue