summaryrefslogtreecommitdiff
path: root/dwm/custom.diff
diff options
context:
space:
mode:
authorTom Barrett <spalf0@gmail.com>2019-09-16 17:07:03 +0200
committerTom Barrett <spalf0@gmail.com>2019-09-16 17:07:03 +0200
commit3ab6b4cf462aad9ca60856adc013679c25d1ee1f (patch)
tree17cbc967bc429c1bcc113ceec90550196e0c2f3b /dwm/custom.diff
parent8b8d861615b140acc66e70a8daabbf7896a625a1 (diff)
rename
Diffstat (limited to 'dwm/custom.diff')
-rw-r--r--dwm/custom.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/dwm/custom.diff b/dwm/custom.diff
new file mode 100644
index 0000000..800c66f
--- /dev/null
+++ b/dwm/custom.diff
@@ -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);