summaryrefslogtreecommitdiff
path: root/dwm/custom.diff
blob: 800c66fd76b2b92c146702d91ca49206b4fe45aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/dwm.c b/dwm.c
index 88f3e04..a1e1ea4 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2254,6 +2254,11 @@ zoom(const Arg *arg)
 	pop(c);
 }
 
+void
+autostart(void) {
+	system("~/.autostart &");
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -2272,6 +2277,7 @@ main(int argc, char *argv[])
 		die("pledge");
 #endif /* __OpenBSD__ */
 	scan();
+	autostart();
 	run();
 	cleanup();
 	XCloseDisplay(dpy);