summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README9
-rw-r--r--browser.c2
2 files changed, 8 insertions, 3 deletions
diff --git a/README b/README
index c716687..8ce095d 100644
--- a/README
+++ b/README
@@ -230,8 +230,13 @@ following environment variables:
pressing the "reload" hotkey for each window.
LARIZA_DOWNLOAD_DIR
- All downloads are automatically stored in this directory.
- Defaults to "/tmp".
+ All downloads are automatically stored in this directory. If you
+ want to stick to XDG directories, then you should configure your
+ "xdg-user-dirs" and use this:
+
+ LARIZA_DOWNLOAD_DIR=$(xdg-user-dir DOWNLOAD)
+
+ This variable defaults to "/var/tmp".
LARIZA_FIFO_SUFFIX
Cooperative instances are implemented using a named pipe in the
diff --git a/browser.c b/browser.c
index b6a8d43..e5c8c27 100644
--- a/browser.c
+++ b/browser.c
@@ -70,7 +70,7 @@ static gboolean cooperative_alone = TRUE;
static gboolean cooperative_instances = TRUE;
static int cooperative_pipe_fp = 0;
static int crash_autoreload_delay = 2;
-static gchar *download_dir = "/tmp";
+static gchar *download_dir = "/var/tmp";
static Window embed = 0;
static gchar *fifo_suffix = "main";
static gdouble global_zoom = 1.0;