sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (551B)


      1 auto open downloads
      2 ===================
      3 
      4 Description
      5 -----------
      6 
      7 This patch uses xdg-open to open a download once it has finished.
      8 
      9 It simply replaces this:
     10 
     11 	"xterm -e \"wget --load-cookies ~/.surf/cookies.txt '$0';\"", \
     12 
     13 with this:
     14 
     15 	"ofile=\"$(xdg-user-dir DOWNLOAD)/$(basename \"$0\")\"; wget --load-cookies ~/.surf/cookies.txt -O \"$ofile\" \"$0\"; xdg-open \"$ofile\"", \
     16 
     17 in your config.def.h file.
     18 
     19 
     20 Download
     21 --------
     22 
     23 * [surf-0.3-autoopen.diff](surf-0.3-autoopen.diff) (.5k) (20100705)
     24 
     25 Author
     26 ------
     27 
     28 * Matthew Bauer <mjbauer95@gmail.com>