pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changing the default DOWNLOAD to use st.
[surf.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
789ada4
..
663e532
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-31,7
+31,7
@@
static Bool hidebackground = FALSE;
/* DOWNLOAD(URI, referer) */
#define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \
/* DOWNLOAD(URI, referer) */
#define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \
- "
xterm -e
\"wget '$0'" \
+ "
st -e /bin/sh -c
\"wget '$0'" \
" --load-cookies ~/.surf/cookies.txt" \
" --user-agent '$1'" \
" --referer '$2' ; sleep 5\"", d, useragent, r, NULL \
" --load-cookies ~/.surf/cookies.txt" \
" --user-agent '$1'" \
" --referer '$2' ; sleep 5\"", d, useragent, r, NULL \