~ruther/guix-config

b38ac2d44a0d481631566bd089fffe2bb6103318 — Rutherther 7 months ago ed53500
chore: remove log file from kanshi service
1 files changed, 6 insertions(+), 13 deletions(-)

M home/modules/ruther/home/services/kanshi.scm
M home/modules/ruther/home/services/kanshi.scm => home/modules/ruther/home/services/kanshi.scm +6 -13
@@ 8,6 8,7 @@
  #:use-module (srfi srfi-1)
  #:use-module (gnu home services)
  #:use-module (gnu home services shepherd)
  #:use-module (ruther home services wayland)
  #:export (kanshi-configuration
            kanshi-profile
            kanshi-output


@@ 117,19 118,11 @@
   (shepherd-service
    (documentation "Run the kanshi daemon for managing outputs.")
    (provision '(kanshi))
    (auto-start? #f)
    (start #~(lambda (wayland-display)
               (setenv "WAYLAND_DISPLAY" wayland-display)
               (fork+exec-command
                (list
                 #$(file-append
                    (home-kanshi-configuration-kanshi config)
                    "/bin/kanshi"))
                #:log-file (string-append
                            (or (getenv "XDG_STATE_HOME")
                                (format #f "~a/.local/state"
                                        (getenv "HOME")))
                            "/log/kanshi.log"))))
    (requirement '(wayland-display))
    (start #~(make-forkexec-constructor
              (list #$(file-append
                       (home-kanshi-configuration-kanshi config)
                       "/bin/kanshi"))))
    (stop #~(make-kill-destructor)))))

(define (add-home-kanshi-config-file config)

Do not follow this link