summaryrefslogtreecommitdiff
path: root/dz-feed
diff options
context:
space:
mode:
Diffstat (limited to 'dz-feed')
-rwxr-xr-xdz-feed2
1 files changed, 1 insertions, 1 deletions
diff --git a/dz-feed b/dz-feed
index 0b595ad..8d3caeb 100755
--- a/dz-feed
+++ b/dz-feed
@@ -1,7 +1,7 @@
#!/bin/sh
# Cache pdf files to be opened with dz
-cache="$HOME/.cache/dz"
+cache="${XDG_CACHE_HOME:-$HOME/.cache}"/dz
if [ "$1" = "-r" ] || [ ! -e "$cache" ]; then
find "$HOME" -mindepth 1 \( -name ".*" -o -path "$HOME/cell" -o -path "$HOME/phone/*" \) -prune -o -print |