From: Christoph Lohmann <20h@r-36.net> Date: Tue, 4 Dec 2012 20:48:42 +0000 (+0100) Subject: Changing the default DOWNLOAD to use st. X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=commitdiff_plain;h=a013f0857e0f2ddf720b9d02954eeacd8d3f849b 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 @@ -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 \