index.md (1292B)
1 autostart 2 ========= 3 4 Description 5 ----------- 6 This patch will make dwm run "~/.dwm/autostart\_blocking.sh" and 7 "~/.dwm/autostart.sh &" before entering the handler loop. One or both of these 8 files can be ommited. 9 10 Be aware that dwm will not startup as long as autostart\_blocking.sh is running 11 and will stay completely unresponsive. For obvious reasons it is generally a 12 bad idea to start X-applications here :) 13 14 Download 15 -------- 16 * [dwm-autostart-20161205-bb3bd6f.diff](dwm-autostart-20161205-bb3bd6f.diff) 17 * [dwm-autostart-20210120-cb3f58a.diff](dwm-autostart-20210120-cb3f58a.diff) 18 19 This patch modifies the dwm autostart feature to conform to the 20 [XDG Base Directory specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). 21 22 The files listed above are looked up in the directories "$XDG\_DATA\_HOME/dwm", 23 "$HOME/.local/share/dwm", and "$HOME/.dwm" respectively. The first existing 24 directory is used, no matter if it actually contains any file. 25 26 Authors 27 ------- 28 * Pulled from: [https://github.com/axelGschaider/dwm-patch-autostart.sh/](https://github.com/axelGschaider/dwm-patch-autostart.sh/) 29 * Adapted to recent version Simon Bremer <simon.bremer@sys24.org> 30 * XDG Base Directory conformance additions Gan Ainm <gan.ainm.riomhphost@gmail.com>