summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rwxr-xr-xdwm/autostart_blocking_sah.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/dwm/autostart_blocking_sah.sh b/dwm/autostart_blocking_sah.sh
index 1776129..e1bd901 100755
--- a/dwm/autostart_blocking_sah.sh
+++ b/dwm/autostart_blocking_sah.sh
@@ -1,9 +1,18 @@
#!/bin/sh
-feh --bg-scale $(shuf -n1 -e ~/bgs/*) --no-fehbg
-dwmblocks &
+feh --bg-scale "$(shuf -n1 -e ~/bgs/*)" --no-fehbg
+if ! pgrep dwmblocks >/dev/null ; then
+ dwmblocks &
+fi
+
alacritty &
setxkbmap -option caps:swapescape
# Notifications
-dunst &
+
+if ! pgrep dunst >/dev/null ; then
+ dunst &
+fi
+
+
+