I’m talking about this patch:
https://dwm.suckless.org/patches/autostart/
Now, the notes seem simple: after apply the patch, dwm will look for the autostart script in ~/.dwm/autostart.sh.
But if you read it carefully, the file is:
~/.dwm/autostart.sh &
Wth does a “&” have to do with file name? I tried to just use the normal file: autostart.sh with exec dunst. It doesnt work…
I tried to create in the Thunar this weird file name, “autostop.sh &”. The system does not recognize it as sh script anymore. .
Any help is welcome.
I will not reiterate what others have well explained Re: the use of &, though it’s surprising to see someone able to use dwm before getting control of the basics of the command-line :)
Coming back to your issue, have you applied the patch and recompiled dwm? Also, you may want to take a look at the note on this patch’s github (which was last updated 13 years ago).