diff --git a/polybar/.config/shepherd/init.d/polybar.scm b/polybar/.config/shepherd/init.d/polybar.scm new file mode 100644 index 0000000..5b2cf33 --- /dev/null +++ b/polybar/.config/shepherd/init.d/polybar.scm @@ -0,0 +1,10 @@ +(define polybar + (make + #: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)