dwm will look for the scripts autostart_blocking.sh and autostart.sh first in $XDG_DATA_HOME/dwm, then $HOME/.local/share/dwm, and finally in $HOME/.dwm. If the first existing directory in that list does not contain any autostart file or if neither of the directories exists, dwm starts without the autostart feature.
Just pushed a patch that makes autostart conform to the XDG Base
Directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
That helps to avoid dotfile clutter in the home directory.
- [dev][dwm][autostart] Patch to make autostart conform to XD... Gan Ainm
- Re: [dev][dwm][autostart] Patch to make autostart conf... David Demelier