typical update of files
This commit is contained in:
0
stuff/manual-programs/suckless/dwm/dwm
Normal file → Executable file
0
stuff/manual-programs/suckless/dwm/dwm
Normal file → Executable file
@@ -223,6 +223,7 @@ static void resizemouse(const Arg *arg);
|
||||
static void resizerequest(XEvent *e);
|
||||
static void restack(Monitor *m);
|
||||
static void run(void);
|
||||
static void runAutostart(void);
|
||||
static void scan(void);
|
||||
static int sendevent(Window w, Atom proto, int m, long d0, long d1, long d2, long d3, long d4);
|
||||
static void sendmon(Client *c, Monitor *m);
|
||||
@@ -1554,6 +1555,12 @@ run(void)
|
||||
handler[ev.type](&ev); /* call handler */
|
||||
}
|
||||
|
||||
void
|
||||
runAutostart(void) {
|
||||
system("cd ~/.config/dwm; ./autostart_blocking.sh");
|
||||
system("cd ~/.config/dwm; ./autostart.sh &");
|
||||
}
|
||||
|
||||
void
|
||||
scan(void)
|
||||
{
|
||||
@@ -2509,6 +2516,7 @@ main(int argc, char *argv[])
|
||||
die("pledge");
|
||||
#endif /* __OpenBSD__ */
|
||||
scan();
|
||||
runAutostart();
|
||||
run();
|
||||
cleanup();
|
||||
XCloseDisplay(dpy);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user