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
4fd1292
..
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 \
@@
-66,6
+66,7
@@
static Key keys[] = {
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
+ { 0, GDK_F11, fullscreen, { 0 } },
{ 0, GDK_Escape, stop, { 0 } },
{ MODKEY, GDK_o, source, { 0 } },
{ 0, GDK_Escape, stop, { 0 } },
{ MODKEY, GDK_o, source, { 0 } },