summaryrefslogtreecommitdiff
path: root/qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff
diff options
context:
space:
mode:
authortslil clingman <>2020-10-19 10:33:54 -0400
committertslil clingman <>2020-10-19 10:35:56 -0400
commit24fff7a3ceac1dfaa19518ba806f36a019e9273b (patch)
tree69f619a5ca0b2c98366191c4111520b146fd2c34 /qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff
parentae0602777a5739796f4bf7f2f8d47e5dfede7af4 (diff)
Tracking my Qubes DWM configuration
Diffstat (limited to 'qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff')
-rw-r--r--qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff b/qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff
new file mode 100644
index 0000000..13ba3ff
--- /dev/null
+++ b/qubes-dwm-6.2/dwm-autostart-20161205-bb3bd6f.diff
@@ -0,0 +1,39 @@
+commit 5918623c5bd7fda155bf9dc3d33890c4ae1722d0
+Author: Simon Bremer <simon.bremer@tum.de>
+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 ~/config/.dwm; ./autostart_blocking.sh");
++ system("cd ~/config/.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);