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.

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.

Reply via email to