summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
authorTom Barrett <spalf0@gmail.com>2019-08-14 08:28:25 -0500
committerdwm <dwm@dwm>2019-08-14 09:33:46 -0500
commitc69531ba4eb0490657f9d84674459bb200854f59 (patch)
treee18f22dc141158f0bcb260767acaeaf577d93362 /dwm
parent43e6d79bf47294ef37e7401c4f63915b92635bf5 (diff)
added autostart
Diffstat (limited to 'dwm')
-rw-r--r--dwm/custom.dff24
1 files changed, 24 insertions, 0 deletions
diff --git a/dwm/custom.dff b/dwm/custom.dff
new file mode 100644
index 0000000..800c66f
--- /dev/null
+++ b/dwm/custom.dff
@@ -0,0 +1,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);