From ec72cbbcef95909bd61aa07a94c4fdd98d3fe768 Mon Sep 17 00:00:00 2001 From: stkhan Date: Fri, 16 Apr 2021 16:27:12 +0000 Subject: Init commit --- dwm-6.2/autostart.diff | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dwm-6.2/autostart.diff (limited to 'dwm-6.2/autostart.diff') diff --git a/dwm-6.2/autostart.diff b/dwm-6.2/autostart.diff new file mode 100644 index 0000000..0f9e4d1 --- /dev/null +++ b/dwm-6.2/autostart.diff @@ -0,0 +1,40 @@ +t 5918623c5bd7fda155bf9dc3d33890c4ae1722d0 +Author: Simon Bremer +Date: Thu Dec 22 17:31:07 2016 +0100 + + Applied and fixed autostart patch for previous version; + +diff --git a/dwm.c b/dwm.c +index d27cb67..066ed71 100644 +--- a/dwm.c ++++ b/dwm.c +@@ -194,6 +194,7 @@ 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); +@@ -1386,6 +1387,12 @@ run(void) + } + + void ++runAutostart(void) { ++ system("cd ~/.dwm; ./autostart_blocking.sh"); ++ system("cd ~/.dwm; ./autostart.sh &"); ++} ++ ++void + scan(void) + { + unsigned int i, num; +@@ -2145,6 +2152,7 @@ main(int argc, char *argv[]) + checkotherwm(); + setup(); + scan(); ++ runAutostart(); + run(); + cleanup(); + XCloseDisplay(dpy); + -- cgit v1.2.3