Changing the default DOWNLOAD to use st.

This commit is contained in:
Christoph Lohmann 2012-12-04 21:48:42 +01:00
parent 6ddc8a80fd
commit a013f0857e
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static Bool hidebackground = FALSE;
/* DOWNLOAD(URI, referer) */ /* DOWNLOAD(URI, referer) */
#define DOWNLOAD(d, r) { \ #define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \ .v = (char *[]){ "/bin/sh", "-c", \
"xterm -e \"wget '$0'" \ "st -e /bin/sh -c \"wget '$0'" \
" --load-cookies ~/.surf/cookies.txt" \ " --load-cookies ~/.surf/cookies.txt" \
" --user-agent '$1'" \ " --user-agent '$1'" \
" --referer '$2' ; sleep 5\"", d, useragent, r, NULL \ " --referer '$2' ; sleep 5\"", d, useragent, r, NULL \