diff options
author | Peter Hofmann <scm@uninformativ.de> | 2015-01-19 19:24:30 +0100 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2015-01-19 19:24:30 +0100 |
commit | 00449e8153f6a13c86d5a982654932ffd9848a5c (patch) | |
tree | c4230bcc9e61bfd5d3c5c283948bf268e9fe593b | |
parent | feb90a26b9326463c339b05bd9aede44840dbb0b (diff) | |
download | lariza-00449e8153f6a13c86d5a982654932ffd9848a5c.tar.gz |
Change default download directory to /var/tmp
Why? See #13. This commit closes #13.
-rw-r--r-- | README | 9 | ||||
-rw-r--r-- | browser.c | 2 |
2 files changed, 8 insertions, 3 deletions
@@ -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 @@ -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; |