summaryrefslogtreecommitdiff
path: root/wrocwttr
diff options
context:
space:
mode:
Diffstat (limited to 'wrocwttr')
-rwxr-xr-xwrocwttr2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrocwttr b/wrocwttr
index 727a464..9f29f48 100755
--- a/wrocwttr
+++ b/wrocwttr
@@ -2,7 +2,7 @@
# Check the temperature in Wrocław, Poland
CITY="Wroc%C5%82aw"
-CACHE_DIR="$HOME/.cache/weather"
+CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/weather"
FILE="$CACHE_DIR/wroc.txt"
mkdir -p "$CACHE_DIR"