From 4d4d3e94f4155f581fba375e0bf11db448c65323 Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@bil.ke>
Date: Sat, 3 Feb 2024 18:16:00 +0100
Subject: [PATCH] fix autostart

---
 .config/zsh/.zprofile           | 2 +-
 .local/libexec/dwm/autostart.sh | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile
index 30e90b65..b28fa8aa 100644
--- a/.config/zsh/.zprofile
+++ b/.config/zsh/.zprofile
@@ -123,5 +123,5 @@ fi
 gpgconf --launch gpg-agent
 
 if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
-    exec startx $XINITRC
+    exec logwrap startx $XINITRC
 fi
diff --git a/.local/libexec/dwm/autostart.sh b/.local/libexec/dwm/autostart.sh
index dff6eea7..9bc5a0de 100755
--- a/.local/libexec/dwm/autostart.sh
+++ b/.local/libexec/dwm/autostart.sh
@@ -10,7 +10,8 @@ xwallpaper --zoom "$XDG_DATA_HOME/bg"
 unclutter -noevents &
 
 start gpgconf --launch gpg-agent
-start dwmlocks
+start dwmblocks
+start picom
 start pipewire
 start dunst