[hackers] [surf] Changing the default DOWNLOAD to use st. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Tue, 04 Dec 2012 21:50:52 +0100

commit a013f0857e0f2ddf720b9d02954eeacd8d3f849b
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Dec 4 21:48:42 2012 +0100

    Changing the default DOWNLOAD to use st.

diff --git a/config.def.h b/config.def.h
index 789ada4..663e532 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -31,7 +31,7 @@ static Bool hidebackground = FALSE;
 /* 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 \
Received on Tue Dec 04 2012 - 21:50:52 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 04 2012 - 22:00:07 CET