summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-08-09 08:48:02 -0500
committerZachIR <zachir@librem.one>2025-08-09 08:48:02 -0500
commitc0ee1d4b5dbd37b05947ffcc584c0834d523626d (patch)
tree6f28342cf643d5cbab2e4e5b6269863b682fbebf
parentd5dc0514b30ea5237642ba4970f85e61c193edbc (diff)
Only start slstatus if it is not already runningHEADmaster
-rwxr-xr-xdwm/autostart.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwm/autostart.sh b/dwm/autostart.sh
index 959797c..07f82d1 100755
--- a/dwm/autostart.sh
+++ b/dwm/autostart.sh
@@ -1,3 +1,2 @@
#!/bin/sh
-
-slstatus &
+pgrep -x slstatus || slstatus