summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/conf.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh
index 830eb01..f4f2549 100644
--- a/src/lib/conf.sh
+++ b/src/lib/conf.sh
@@ -7,6 +7,9 @@ LIBREHOME="$(eval echo ~$LIBREUSER)"
if [[ -z ${XDG_CONFIG_HOME:-} ]]; then
export XDG_CONFIG_HOME="${LIBREHOME}/.config"
fi
+if [[ -z ${XDG_CACHE_HOME:-} ]]; then
+ export XDG_CACHE_HOME="${LIBREHOME}/.cache"
+fi
# Generic functions ############################################################