summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index bea6b6e..221ac36 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1522,7 +1522,8 @@ run(void)
void
runAutostart(void) {
- system("export STATUSBAR=\"dwmblocks\" ; killall dwmblocks ; dwmblocks &");
+ system("type startup >/dev/null 2>&1 && startup &");
+ system("killall dwmblocks ; dwmblocks &");
}
void