X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=da5a08f9a25de368f8d4344418d7a55d56269f75;hb=3e972f8e2a170f15e76fae7dc4de656963deb89b;hp=d503bfbf1bd859be41ff1e30e0c3d76722d99745;hpb=3c1ed5d56af13f09a81beb00c59464972c36b2f0;p=surf.git diff --git a/config.def.h b/config.def.h index d503bfb..da5a08f 100644 --- a/config.def.h +++ b/config.def.h @@ -29,10 +29,9 @@ static Bool hidebackground = FALSE; #define DOWNLOAD(d, r) { \ .v = (char *[]){ "/bin/sh", "-c", \ "st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \ - " --referer '$2'" \ - " -b ~/.surf/cookies.txt -c ~/.surf/cookies.txt '$0';" \ + " --referer '$2' -b $3 -c $3 '$0';" \ " sleep 5;\"", \ - d, useragent, r, NULL \ + d, useragent, r, cookiefile, NULL \ } \ }