blob: 1df1fa85c75468104339922d8c64539ae8bae075 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/dwm.c b/dwm.c
index 127ab8a..44c85ed 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1773,6 +1773,7 @@ run(void)
void
runAutostart(void) {
system("killall -q dwmblocks; dwmblocks &");
+ system("for app in `ls ~/.config/autostart/*.desktop`; do $(grep '^Exec' $app | sed 's/^Exec=//') &; done");
}
void
|