start startup script if it exists

This commit is contained in:
Luke Smith
2020-04-09 16:53:54 -04:00
parent a28d4c3bb4
commit 6cb092d8f2
+2 -1
View File
@@ -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