summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSisiutl <sisiutl@egregore.fun>2024-12-03 14:23:19 +0100
committerSisiutl <sisiutl@egregore.fun>2024-12-03 14:23:44 +0100
commit347e0f07e3675d172b2f52cb1b0aeb62d8553524 (patch)
tree7e63295b5d0dd8e7fc88b256379de50507f568d4
parent9c7de4823c8a797c27ad4aea8cf5becd78594377 (diff)
add hypridle logging
-rw-r--r--sigils/home/services/hyprland.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/sigils/home/services/hyprland.scm b/sigils/home/services/hyprland.scm
index d6b4fe1..4b662e9 100644
--- a/sigils/home/services/hyprland.scm
+++ b/sigils/home/services/hyprland.scm
@@ -438,7 +438,10 @@ configuration, you can use a @code{source} keyword.
(start #~(make-forkexec-constructor
(list #$(file-append
(home-hypridle-configuration-hypridle config)
- "/bin/hypridle"))))
+ "/bin/hypridle"))
+ #:log-file (string-append
+ (getenv "XDG_STATE_HOME") "/log"
+ "/hyprpidle.log")))
(stop #~(make-kill-destructor))))
(define home-hypridle-service-type