summaryrefslogtreecommitdiff
path: root/gnu/home
diff options
context:
space:
mode:
authorLudovic Courtès <[email protected]>2025-02-13 12:38:52 +0100
committerLudovic Courtès <[email protected]>2025-02-21 15:27:12 +0100
commit90aa90eb05429553402e0b5225d23f84742a9286 (patch)
treedbbc0cf0e9bae7fbe7b8a5165102d83e055004f3 /gnu/home
parente36d6ab24b7f405d191f7bf84f0db949c0ee72c0 (diff)
home: services: unclutter: Add a ‘stop’ method.
* gnu/home/services/desktop.scm (home-unclutter-shepherd-service): Remove ‘one-shot?’ field and set ‘stop’. Change-Id: I82b915d4260a62e628b419a497c50ecf2cbc356c
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/desktop.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index fc96ce9295..859dba776a 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2022-2023 Ludovic Courtès <[email protected]>
+;;; Copyright © 2022-2023, 2025 Ludovic Courtès <[email protected]>
;;; Copyright © 2022 ( <[email protected]>
;;; Copyright © 2023 conses <[email protected]>
;;; Copyright © 2023 Janneke Nieuwenhuizen <[email protected]>
@@ -353,7 +353,6 @@ according to time of day.")))
(modules '((shepherd support) ;for %user-log-dir
(srfi srfi-1)
(srfi srfi-26)))
- (one-shot? #t)
(start #~(lambda _
(fork+exec-command
(list
@@ -369,7 +368,8 @@ according to time of day.")))
(remove (cut string-prefix? "DISPLAY=" <>)
(default-environment-variables)))
#:log-file
- (string-append %user-log-dir "/unclutter.log")))))))
+ (string-append %user-log-dir "/unclutter.log"))))
+ (stop #~(make-kill-destructor)))))
(define home-unclutter-service-type
(service-type