mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: slim: Honor the value of slim from slim-configuration.
Previously setting the slim field in slim-configuration would have no effect. * gnu/services/xorg.scm (slim-shepherd-service): Remove unused let binding for slim. Use (slim-configuration-slim config) instead of the default slim. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
fdb513a704
commit
b901b72545
1 changed files with 3 additions and 2 deletions
|
@ -502,7 +502,6 @@ (define (slim-shepherd-service config)
|
|||
(define slim.cfg
|
||||
(let ((xinitrc (xinitrc #:fallback-session
|
||||
(slim-configuration-auto-login-session config)))
|
||||
(slim (slim-configuration-slim config))
|
||||
(xauth (slim-configuration-xauth config))
|
||||
(startx (xorg-start-command (slim-configuration-xorg config)))
|
||||
(shepherd (slim-configuration-shepherd config))
|
||||
|
@ -547,7 +546,9 @@ (define theme
|
|||
(false-if-exception (delete-file "/var/run/slim.lock"))
|
||||
|
||||
(fork+exec-command
|
||||
(list (string-append #$slim "/bin/slim") "-nodaemon")
|
||||
(list (string-append #$(slim-configuration-slim config)
|
||||
"/bin/slim")
|
||||
"-nodaemon")
|
||||
#:environment-variables
|
||||
(list (string-append "SLIM_CFGFILE=" #$slim.cfg)
|
||||
#$@(if theme
|
||||
|
|
Loading…
Reference in a new issue