Changing the default DOWNLOAD to use st.
authorChristoph Lohmann <20h@r-36.net>
Tue, 4 Dec 2012 20:48:42 +0000 (21:48 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 4 Dec 2012 20:48:42 +0000 (21:48 +0100)
config.def.h

index 789ada4..663e532 100644 (file)
@@ -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 \