Adding autostart patch
This commit is contained in:
10
patch/autostart.c
Normal file
10
patch/autostart.c
Normal file
@@ -0,0 +1,10 @@
|
||||
void
|
||||
runAutostart(void) {
|
||||
|
||||
int ret;
|
||||
|
||||
ret = system("cd ~/.config/dwm; ./autostart_blocking.sh");
|
||||
ret = system("cd ~/.config/dwm; ./autostart.sh &");
|
||||
|
||||
if (ret); // ignore, hide compilation warnings
|
||||
}
|
1
patch/autostart.h
Normal file
1
patch/autostart.h
Normal file
@@ -0,0 +1 @@
|
||||
static void runAutostart(void);
|
@@ -6,6 +6,10 @@
|
||||
#include "attachx.c"
|
||||
#endif
|
||||
|
||||
#if AUTOSTART_PATCH
|
||||
#include "autostart.c"
|
||||
#endif
|
||||
|
||||
#if PERTAG_PATCH
|
||||
#include "pertag.c"
|
||||
#endif
|
||||
|
@@ -6,6 +6,10 @@
|
||||
#include "attachx.h"
|
||||
#endif
|
||||
|
||||
#if AUTOSTART_PATCH
|
||||
#include "autostart.h"
|
||||
#endif
|
||||
|
||||
#if SYSTRAY_PATCH
|
||||
#include "systray.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user