summaryrefslogtreecommitdiffhomepage
path: root/patch/autostart.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2019-09-06 23:37:30 +0200
committerbakkeby <[email protected]>2019-09-06 23:37:30 +0200
commit611460c6a6d72876d306e54bdba475d0e7f19676 (patch)
tree0adbc007f1007f40611c91f86d418e7daa0932e3 /patch/autostart.c
parent04a7b4de407480089e575b0047d6998ccc001791 (diff)
downloaddwm-flexipatch-611460c6a6d72876d306e54bdba475d0e7f19676.tar.gz
dwm-flexipatch-611460c6a6d72876d306e54bdba475d0e7f19676.zip
Adding autostart patch
Diffstat (limited to 'patch/autostart.c')
-rw-r--r--patch/autostart.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/patch/autostart.c b/patch/autostart.c
new file mode 100644
index 0000000..c61ea7f
--- /dev/null
+++ b/patch/autostart.c
@@ -0,0 +1,10 @@
+void
+runAutostart(void) {
+
+ int ret;
+
+ ret = system("cd ~/.config/dwm; ./autostart_blocking.sh");
+ ret = system("cd ~/.config/dwm; ./autostart.sh &");
+
+ if (ret); // ignore, hide compilation warnings
+} \ No newline at end of file