Images: Use $XDG_CACHE_HOME if available

This commit is contained in:
Dylan Araps 2016-11-16 23:30:46 +11:00
parent 3de37dc6a0
commit c9da0e8e0d
2 changed files with 5 additions and 5 deletions

View file

@ -291,7 +291,7 @@ disk_display="off"
image_source="wallpaper"
# Thumbnail directory
thumbnail_dir="$HOME/.cache/thumbnails/neofetch"
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# W3m-img path
# Only works with the w3m backend.