Change cache location

This commit is contained in:
Lord Of Nougate 2023-08-27 22:13:39 +02:00
parent f68fc3234d
commit 93e6c14ede

View File

@ -21,7 +21,7 @@ UPTIMECOLOR="\033[0m" # Bash color
##### Script config
#####################################################################
CACHEFILE="/tmp/waifu.cache" # to cache waifu state
CACHEFILE="$HOME/.cache/waifu.cache" # to cache waifu state
MOTDPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # path to motd folder
tput_cols=$(/usr/bin/tput cols) # terminal columns
WAIFUS=$(($(ls $MOTDPATH/waifus/*.256.png | wc -w) - 1)) # count of waifus