Le 09/06/2020 à 22:48, Gan Ainm a écrit :
> 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.
Thank you!
I was planning to write something similar because some applications
require a working D-Bus session to start (so unable to launch them
before dwm in .xinitrc). Example: pulseaudio then mpd.
--
David
Received on Wed Jun 10 2020 - 08:47:10 CEST