From 8392d0420f071edb37c2854b71f0884ad3772c48 Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Sun, 4 Feb 2024 14:19:13 +0100
Subject: [PATCH] Revert back to original autostart method

---
 config.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/config.h b/config.h
index 8a90895..e122bad 100644
--- a/config.h
+++ b/config.h
@@ -137,7 +137,17 @@ static const char *layoutmenu_cmd = "xmenulayout";
 // static const char *layoutdmenu = "$HOME/.local/libexec/dwm/dmenulayout"; // TODO: Patch layoutmenu to accept shell commands
 
 static const char *const autostart[] = {
-    "sh", "-c", "spool $HOME/.local/libexec/dwm/autostart.d", NULL,
+    "sh", "-c", "run-parts $HOME/.local/libexec/dwm/autorun.d", NULL,
+    "pipewire", NULL,
+    "wireplumber", NULL,
+    "pipewire", "-c", "pipewire-pulse.conf", NULL,
+    "dunst", NULL,
+    "picom", NULL,
+    "unclutter", "-noevents", "-idle", "3", NULL,
+    "syncthingtray", NULL,
+    "sh", "-c", "$HOME/.local/libexec/daemons/remapd", NULL,
+    "sh", "-c", "env PATH=\"$HOME/.local/libexec/statusbar:$PATH\" dwmblocks", NULL,
+    "sh", "-c", "$HOME/.local/libexec/dwm/locker", NULL,
     NULL
 };