Просмотр исходного кода

Revert "Add autostart patch"

This reverts commit 2f825e58273d6a40bc6fab0f486331b6536d29e8.
Frans Bergman 5 лет назад
Родитель
Сommit
4cb6f1234c
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      dwm.c

+ 0 - 9
dwm.c

@@ -216,7 +216,6 @@ static void resizeclient(Client *c, int x, int y, int w, int h);
 static void resizemouse(const Arg *arg);
 static void restack(Monitor *m);
 static void run(void);
-static void runAutostart(void);
 static void scan(void);
 static int sendevent(Client *c, Atom proto);
 static void sendmon(Client *c, Monitor *m);
@@ -1514,13 +1513,6 @@ run(void)
 			handler[ev.type](&ev); /* call handler */
 }
 
-void
-runAutostart(void)
-{
-    system("cd ~/.dwm; ./autostart_blocking.sh");
-    system("cd ~/.dwm; ./autostart.sh &");
-}
-
 void
 scan(void)
 {
@@ -2464,7 +2456,6 @@ main(int argc, char *argv[])
 		die("pledge");
 #endif /* __OpenBSD__ */
 	scan();
-    runAutostart();
 	run();
 	if (restart) execvp(argv[0], argv);
 	cleanup();