From 4dc32de2f62515482748879be3414de01e5bc62b Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Wed, 28 Feb 2024 00:32:52 +0100
Subject: [PATCH] use execs in autostart

---
 config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h
index 60a0bc9..b5fd0a5 100644
--- a/config.h
+++ b/config.h
@@ -137,8 +137,8 @@ static const char *layoutmenu_cmd = "xmenulayout";
 
 static const int autostart_kill_signal = SIGHUP;
 static const char *const autostart[] = {
-    "/bin/sh", "-c", "run-parts \"${XDG_CONFIG_HOME}/dwm/autorun.d\"", NULL,
-    "/bin/sh", "-c", "runsvdir \"${SVDIR}\"", NULL,
+    "/bin/sh", "-c", "exec run-parts \"${XDG_CONFIG_HOME}/dwm/autorun.d\"", NULL,
+    "/bin/sh", "-c", "exec runsvdir \"${SVDIR}\"", NULL,
     NULL
 };