From b5761c2d45c8a9ee4a16d0bd9704c6d1b92955a8 Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Sun, 4 Feb 2024 12:48:49 +0100
Subject: [PATCH] change autostart once again

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

diff --git a/config.h b/config.h
index 00c8feb..46316d6 100644
--- a/config.h
+++ b/config.h
@@ -137,7 +137,18 @@ 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", "-cm", "run-parts $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,
+    "unclutter", "-noevents", "-idle", "3", NULL,
+    "lf", "-server", NULL,
+    "sh", "-c", "runsvdir $SVDIR", NULL,
+    "sh", "-c", "env PATH=\"$HOME/.local/libexec/statusbar:$PATH\" dwmblocks", NULL,
+    "sh", "-c", "$HOME/.local/libexec/dwm/locker", NULL
+    "sh", "-c", "gpg-agent --homedir $XDG_CONFIG_HOME/gnupg --use-standard-socket --server", NULL
+    "syncthingtray", NULL
     NULL
 };