Add an option to disable the indicators.
[surf.git] / config.def.h
index ed8fbbe..83b6477 100644 (file)
@@ -9,6 +9,7 @@ static time_t sessiontime   = 3600;
 static char *cafile         = "/etc/ssl/certs/ca-certificates.crt";
 static char *strictssl      = FALSE; /* Refuse untrusted SSL connections */
 static Bool kioskmode      = FALSE; /* Ignore shortcuts */
+static Bool showindicators  = TRUE;  /* Show indicators in window title */
 
 static guint defaultfontsize = 12;
 
@@ -32,7 +33,7 @@ static Bool hidebackground  = FALSE;
 /* DOWNLOAD(URI, referer) */
 #define DOWNLOAD(d, r) { \
        .v = (char *[]){ "/bin/sh", "-c", \
-               "st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \
+               "st -e /bin/sh -c \"curl -L -J -O --user-agent '$1'" \
                " --referer '$2' -b $3 -c $3 '$0';" \
                " sleep 5;\"", \
                d, useragent, r, cookiefile, NULL \