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.
hmm, usually the & is not part of the filename and just tells the script to run in the background 🤔
but i’m not sure what it means in this case.
yes, that is what I thought: so “dunst &” means to start dunst in the background. But the way they attach to the end of a file name is weird.
You should learn some shell basics before copy/pasting other people’s work. It’s not weird at all to have & after the script path/name.