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.

  • catharso@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    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.

    • mazzilius_marsti@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      4 days ago

      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.