more sensible urlfile location

This commit is contained in:
Alexander Bocken 2021-06-07 14:20:42 +02:00
parent dd71cee26e
commit c044a74749
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -4,7 +4,7 @@
#(and adds post no. to distinguish possible duplicate file names) #(and adds post no. to distinguish possible duplicate file names)
#consider using it in a cronjob intermittently with something like #consider using it in a cronjob intermittently with something like
#*/10 * * * * /home/<username>/.local/bin/threadwatcher scan #*/10 * * * * /home/<username>/.local/bin/threadwatcher scan
THREADWATCHER_DIR=${XDG_DATA_HOME:-$HOME/.local/share}/4chan_watcher THREADWATCHER_DIR=${XDG_DATA_HOME:-$HOME/.local/share}/threadwatcher
URLFILE="$THREADWATCHER_DIR/threads" URLFILE="$THREADWATCHER_DIR/threads"
TMP_URLFILE=/tmp/4chan_thread_watcher_tmp$$ TMP_URLFILE=/tmp/4chan_thread_watcher_tmp$$