surf-0.3-autoopen.diff (519B)
1 diff -r dbb565b8d61c config.def.h 2 --- a/config.def.h Fri Jun 25 09:42:58 2010 +0200 3 +++ b/config.def.h Mon Jul 05 22:07:35 2010 -0500 4 @@ -14,7 +14,7 @@ 5 p, q, winid, NULL } } 6 #define DOWNLOAD(d) { \ 7 .v = (char *[]){ "/bin/sh", "-c", \ 8 - "xterm -e \"wget --load-cookies ~/.surf/cookies.txt '$0';\"", \ 9 + "ofile=\"$(xdg-user-dir DOWNLOAD)/$(basename \"$0\")\"; wget --load-cookies ~/.surf/cookies.txt -O \"$ofile\" \"$0\"; xdg-open \"$ofile\"", \ 10 d, NULL } } 11 #define MODKEY GDK_CONTROL_MASK 12 static Key keys[] = {