fix: stop wlr-services if running on dwl startup When wlr-services services are running already from previous session, ie. after a logout or a crash, they couldn't be started again, 1. because wlr-services has been running still, it needs to be stopped first, 2. because the services got disabled cause they crashed with no possibility to connect to wayland display 5 times. The point 1. is fixed by this commit, 2. is fixed in guix-exprs
1 files changed, 6 insertions(+), 2 deletions(-) M home/modules/ruther/home/dwl/scripts.scm
M home/modules/ruther/home/dwl/scripts.scm => home/modules/ruther/home/dwl/scripts.scm +6 -2
@@ 63,8 63,12 @@ "XDG_CURRENT_DESKTOP" "DISPLAY")) ; TODO: make a "target" instead, to start. ; TODO: maybe shepherd should be taken out of its service? ;; In case it has been started already, stop it (invoke (string-append #$shepherd "/bin/herd") "stop" "wlr-services") ;; Start wlr-services now (invoke (string-append #$shepherd "/bin/herd") "start"