start startup
script if it exists
This commit is contained in:
parent
a28d4c3bb4
commit
6cb092d8f2
1 changed files with 2 additions and 1 deletions
3
dwm.c
3
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
|
||||
|
|
Loading…
Reference in a new issue