From c69531ba4eb0490657f9d84674459bb200854f59 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 14 Aug 2019 08:28:25 -0500 Subject: added autostart --- dwm/custom.dff | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dwm/custom.dff (limited to 'dwm/custom.dff') 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); -- cgit v1.2.3