[polybar] Add Shepherd service

This commit is contained in:
Tom Willemse 2022-03-06 15:10:04 -08:00
parent 37df44bb87
commit 951141c7d7

View file

@ -0,0 +1,10 @@
(define polybar
(make <service>
#:provides '(polybar)
#:docstring "Run polybar"
#:start (make-forkexec-constructor
`("polybar" ,(gethostname))
#:log-file (string-append (getenv "HOME") "/.logs/polybar.log"))
#:stop (make-kill-destructor)))
(register-services polybar)